<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" ?>
<casaxml xmlns="http://casa.nrao.edu/schema/psetTypes.html"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd
file:///opt/casa/code/xmlcasa/xml/casa.xsd">
<task type="function" name="tsdfit" category="single dish" visibility="experimental">
<shortdescription>Fit a spectral line</shortdescription>
Task tsdfit is a basic line-fitter for single-dish spectra.
It assumes that the spectra have been calibrated in tsdcal
<param type="string" name="infile" mustexist="true">
<description>name of input SD dataset</description>
<param type="string" name="datacolumn" ignorecase="true">
<description>name of data column to be used [\'data\', \'float_data\', or \'corrected_data\']</description>
<param type="any" name="antenna">
<description>select an antenna name or ID, e.g. \'PM03\'</description>
<any type="variant" limittypes="string int"/>
<value type="int">0</value>
<param type="string" name="field">
<description>select data by field IDs and names, e.g. \'3C2*\' (\'\'=all)</description>
<param type="string" name="spw">
<description>select data by IF IDs (spectral windows), e.g. \'3,5,7\' (\'\'=all)</description>
<param type="string" name="timerange">
<description>select data by time range, e.g. \'09:14:0~09:54:0\' (\'\'=all) (see examples in help)</description>
<param type="string" name="scan">
<description>select data by scan numbers, e.g. \'21~23\' (\'\'=all)</description>
<param type="string" name="pol">
<description>select data by polarization IDs, e.g. \'0,1\' (\'\'=all)</description>
<param type="string" name="fitfunc">
<shortdescription>function for fitting. only \'gaussian\' is available now.</shortdescription>
<description>function for fitting</description>
<param type="string" name="fitmode">
<shortdescription>mode for fitting. only \'list\' is available now.</shortdescription>
<description>mode for fitting</description>
<param type="intArray" name="nfit">
<description>list of number of lines to fit in maskline region.</description>
<value type="vector"><value>0</value></value>