<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<task category="calibration" name="gaincal" type="function">
<shortdescription>Determine temporal gains from calibrator observations</shortdescription>
The complex gains for each antenna/spwid are determined from the data
column (raw data) divided by the model column. The gains can be
obtained for a specified solution interval, spw combination and field
combination. The GSPLINE spline (smooth) option is still under
Previous calibrations (egs, bandpass, opacity, parallactic angle) can
be applied on the fly. At present with dual-polarized data, both
polarizations must be unflagged for any solution to be obtained.
<param mustexist="true" name="vis" type="path">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Example: vis='ngc5921.ms'
<param name="caltable" type="string">
<shortdescription>Name of output gain calibration table</shortdescription>
<description>Name of output gain calibration table
Example: caltable='ngc5921.gcal'
<param name="field" type="string">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
Use 'go listobs' to obtain the list id's or
names. If field string is a non-negative integer,
it is assumed a field index, otherwise, it is
field='0~2'; field ids 0,1,2
field='0,4,5~7'; field ids 0,4,5,6,7
field='3C286,3C295'; field named 3C286 and
field = '3,4C\*'; field id 3, all names
<param name="spw" type="string">
<shortdescription>Select spectral window/channels</shortdescription>
<description>Select spectral window/channels
Default: '' (all spectral windows and channels)
spw='0~2,4'; spectral windows 0,1,2,4 (all
spw='<2'; spectral windows less than 2
spw='0:5~61'; spw 0, channels 5 to 61,
spw='\*:5~61'; all spw with channels 5 to 61
spw='0,10,3:3~45'; spw 0,10 all channels, spw
spw='0~2:2~6'; spw 0,1,2 with channels 2
spw='0:0~10;15~60'; spectral window 0 with
channels 0-10,15-60. (NOTE ';' to separate
spw='0:0~10^2,1:20~30^5'; spw 0, channels
0,2,4,6,8,10, spw 1, channels 20,25,30
<param name="intent" type="string">
<shortdescription>Select observing intent</shortdescription>
<description>Select observing intent
Default: '' (no selection by intent)
Example: intent='*BANDPASS*' (selects data
labelled with BANDPASS intent)