gaincal – Determine temporal gains from calibrator observations – calibration task
Description
The complex gains for each antenna/spwid are determined from the data column (raw data), divided by the model column, for the specified fields. The gains can be obtained for a specified solution interval for each spectral window, or by a spline fit to all spectral windows simultaneously.
Previous calibrations (egs. bandpass) should be applied on the fly.
Parameters
Parameter |
Default |
Description |
|---|---|---|
vis |
|
|
caltable |
|
|
field |
|
|
spw |
|
|
intent |
|
|
selectdata |
|
|
timerange |
|
|
uvrange |
|
|
antenna |
|
|
scan |
|
|
observation |
|
|
msselect |
|
|
solint |
|
|
combine |
|
|
preavg |
|
|
refant |
|
|
minblperant |
|
|
minsnr |
|
|
solnorm |
|
|
gaintype |
|
|
smodel |
|
|
calmode |
|
|
append |
|
|
splinetime |
|
|
npointaver |
|
|
phasewrap |
|
|
docallib |
|
|
callib |
|
|
gaintable |
|
|
gainfield |
|
|
interp |
|
|
spwmap |
|
|
parang |
|
Parameter Explanations
vis
''
Name of input visibility file
caltable
''
Name of output gain calibration table
field
''
Select field using field id(s) or field name(s)
spw
''
Select spectral window/channels
intent
''
Select observing intent
selectdata
True
Other data selection parameters
timerange
''
Select data based on time range
uvrange
''
Select data within uvrange (default units meters)
antenna
''
Select data based on antenna/baseline
scan
''
Scan number range
observation
''
Select by observation ID(s)
msselect
''
Optional complex data selection (ignore for now)
solint
'inf'
Solution interval: egs. 'inf', '60s' (see help)
combine
''
Data axes which to combine for solve (obs, scan, spw, and/or field)
preavg
float(-1.0)
Pre-averaging interval (sec) (rarely needed)
refant
''
Reference antenna name(s)
minblperant
int(4)
Minimum baselines _per antenna required for solve
minsnr
float(3.0)
Reject solutions below this SNR
solnorm
False
Normalize average solution amplitudes to 1.0 (G, T only)
gaintype
'G'
Type of gain solution (G,T,GSPLINE,K,KCROSS)
smodel
numpy.array( [ ] )
Point source Stokes parameters for source model.
calmode
'ap'
Type of solution: ('ap', 'p', 'a')
append
False
Append solutions to the (existing) table
splinetime
float(3600.0)
Spline timescale(sec); All spw's are first averaged.
npointaver
int(3)
The phase-unwrapping algorithm
phasewrap
float(180.0)
Wrap the phase for jumps greater than this value (degrees)
docallib
False
Use callib or traditional cal apply parameters
callib
''
Cal Library filename
gaintable
numpy.array( [ ] )
Gain calibration table(s) to apply on the fly
gainfield
numpy.array( [ ] )
Select a subset of calibrators from gaintable(s)
interp
numpy.array( [ ] )
Temporal interpolation for each gaintable (‘’=linear)
spwmap
numpy.array( [ ] )
Spectral windows combinations to form for gaintables(s)
parang
False
Apply parallactic angle correction on the fly