2.2.1 Set the data selection for subsequent processing
Description
This function selects which data will be treated by subsequent execution of the
solve and correct functions. Note that data selection is not cumulative; any
selection made in a previous call is replaced by the selection from the current
call.
The arguments are used as follows:
The channels are centered on velocities: start, start+step, start+2*step, etc.
The channels are centered on velocities: mstart, mstart+mstep, mstart+2*mstep, etc.
Arguments
| Inputs |
| ||
| mode |
| Type of data selection: channel or velocity
| |
| allowed: | string |
|
| Default: | channel velocity none |
|
| nchan |
| Number of channels to select (mode=’channel’)
| |
| allowed: | int |
|
| Default: | 1 |
|
| start |
| Start channel (0-relative) (mode=’channel’)
| |
| allowed: | int |
|
| Default: | 0 |
|
| step |
| Step in channel number (mode=’channel’)
| |
| allowed: | int |
|
| Default: | 1 |
|
| mstart | km/s | Start velocity (e.g. ’20Km/s’)
| |
| allowed: | doublekm/s |
|
| Default: | 0.0 |
|
| mstep | km/s | Step in velocity (e.g. ’100m/s’)
| |
| allowed: | doublekm/s |
|
| Default: | 0.0 |
|
| uvrange |
| UV range (in klambda) (e.g. [0, 50]). Defaults to no
restriction.
| |
| allowed: | doubleArray |
|
| Default: | 0 |
|
| msselect |
| TAQL selection string. Default is no selection.
| |
| allowed: | string |
|
| Default: |
|
|
Example
c:=calibrater(’3C273XC1.MS’);
|
Select according to channel:
c.setdata(mode=’channel’,nchan=512,start=1,step=1,msselect=’FIELD_ID==1’)
|
Select according to velocity:
c.setdata(mode=’velocity’, nchan=64, mstart=’20km/s’, mstep=’-100m/s’);
|
Reset selection to the entire dataset
c.setdata()
|
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.