<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns="http://casa.nrao.edu/schema/psetTypes.html" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<task type="function" name="sdgaincal" category="single dish">
<shortdescription> MS SD gain calibration task</shortdescription>
<param type="path" name="infile" mustexist="true"><shortdescription>name of input SD dataset (must be MS)</shortdescription><description>name of input SD dataset (must be MS)</description>
<param type="string" name="calmode">
<shortdescription>gain calibration mode ("doublecircle")</shortdescription>
<description>gain calibration mode</description>
<value>doublecircle</value>
<value>doublecircle</value>
<param type="any" name="radius" subparam="true"><shortdescription>radius of central region to be used for calibration</shortdescription><description>radius of central region to be used for calibration</description>
<any type="variant" limittype="string double"/>
<param type="bool" name="smooth" subparam="true"><shortdescription>smooth data or not</shortdescription><description>smooth data or not</description>
<param type="string" name="antenna"><shortdescription>select data by antenna name or ID, e.g. "PM03"</shortdescription><description>select data by antenna name or ID, e.g. "PM03"</description>
<param type="string" name="field"><shortdescription>select data by field IDs and names, e.g. "3C2*" ("" = all)</shortdescription><description>select data by field IDs and names, e.g. "3C2*" ("" = all)</description>
<param type="string" name="spw"><shortdescription>select data by spw IDs (spectral windows), e.g., "3,5,7" ("" = all)</shortdescription><description>select data by spw IDs (spectral windows), e.g., "3,5,7" ("" = all)</description>
<param type="string" name="scan"><shortdescription>select data by scan numbers, e.g. "21~23" (""=all)</shortdescription><description>select data by scan numbers, e.g. "21~23" (""=all)</description>
<param type="string" name="intent" subparam="true"><shortdescription>select data by observation intent, e.g. "OBSERVE_TARGET#ON_SOURCE" (""=all)</shortdescription><description>select data by observation intent, e.g. "OBSERVE_TARGET#ON_SOURCE" (""=all)</description>
<param type="any" name="applytable"><shortdescription>(List of) sky and/or tsys tables for pre-application</shortdescription><description>(List of) sky and/or tsys tables for pre-application</description>
<any type="variant" limittype="string stringArray"/>
<param type="any" name="interp" subparam="true"><shortdescription>Interp type in time[,freq], per gaintable. default==linear,linear</shortdescription><description>Interp type in time[,freq], per gaintable. default==linear,linear</description>
<any type="variant" limittype="string stringArray"/>
<param type="intVec" name="spwmap" subparam="true">
<shortdescription>Spectral window mappings to form for applytable(s)</shortdescription>
<description>Spectral window mappings to form for applytable(s)
Only used if callib=False
default: [] (apply solutions from each calibration spw to
Any available calibration spw can be mechanically mapped to any
spwmap=[0,0,1,1] means apply calibration
from cal spw = 0 to MS spw 0,1 and cal spw 1 to MS spws 2,3.
spwmap=[[0,0,1,1],[0,1,0,1]] (use a list of lists for multiple