<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="single dish" name="sdatmcor" type="function">
<shortdescription>Offline correction of residual atmospheric features</shortdescription>
The task sdatmcor provides the capability of offline correction of
residual atmospheric features in the calibrated single-dish spectra
which result from the difference of elevation angle between ON_SOURCE
and OFF_SOURCE measurements.
The correction factor is derived from the atmosphere model based on
the atmospheric properties (temperature, pressure, etc.) measured
during the observation. The model is constructed by the atmosphere
For spw selection, two selection parameters, spw and outputspw,
are available. The former specifies the data to be
corrected while the latter corresponds to the spw for output.
In practice, intersection of spw and outputspw is corrected.
For example, when spw='19,23' and outputspw='19', spw 23 is not
corrected because data for spw 23 is not written to outfile so
that the correction is not meaningful.
For data selection parameters other than spw, only data selected
by data selection parameters are corrected and written to the outfile.
Note that outfile will have the data column DATA regardless of
what data column exists in infile.
<param name="infile" type="string">
<shortdescription>name of input MS.</shortdescription>
<description>name of input MS.</description>
<param ignorecase="true" name="datacolumn" type="string">
<shortdescription>name of data column to be used ["data", "float_data", or "corrected"]</shortdescription>
<description>name of data column to be used ["data", "float_data", or "corrected"]</description>
<value>float_data</value>
<param name="outfile" type="string">
<shortdescription>name of output MS.</shortdescription>
<description>name of output MS.</description>
<param name="overwrite" type="bool">
<shortdescription>allow to overwrite the output file if already exists.</shortdescription>
<description>allow to overwrite the output file if already exists.</description>
<value type="bool">False</value>