<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="applycal" type="function">
<shortdescription>Apply calibrations solutions(s) to data</shortdescription>
Applycal reads the specified gain calibration tables or cal library,
applies them to the (raw) data column (with the specified selection),
and writes the calibrated results into the corrected column. This is
done in one step, so all available calibration tables must be
Applycal will overwrite existing corrected data, and will flag data
for which there is no calibration available.
Standard data selection is supported. See help par.selectdata for
<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="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)
default: '' --> all fields
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
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