Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
![]() | Version 1.9 Build 1556 |
|
Package | synthesis | |
Module | calibrater | |
Tool | calibrater |
mode | in | Type of data selection: channel or velocity | |
Allowed: | String from 'none'|'channel'|'velocity' | ||
Default: | 'none' | ||
nchan | in | Number of channels to select (mode='channel') | |
Allowed: | Int | ||
Default: | 1 | ||
start | in | Start channel (1-relative) (mode='channel' | |
Allowed: | Int | ||
Default: | 1 | ||
step | in | Step in channel number (mode='channel') | |
Allowed: | Int | ||
Default: | 1 | ||
mstart | in | Start velocity (e.g. '20Km/s') | |
Allowed: | Quantity | ||
Default: | '0km/s' | ||
mstep | in | Step in velocity (e.g. '100m/s' | |
Allowed: | Quantity | ||
Default: | '0km/s' | ||
uvrange | in | UV range (in klambda) (e.g. [0, 50]). Default is no restriction. | |
Allowed: | Vector of Doubles | ||
Default: | 0 | ||
msselect | in | TAQL selection string. Default is no selection. | |
Allowed: | String | ||
Default: | ' ' |
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.
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()