<param type="string" name="timespan" subparam="true"><shortdescription>span the timebin across "scan", "state", "field", or a combination of them (e.g., "scan,state")</shortdescription><description>span the timebin across "scan", "state", "field", or a combination of them (e.g., "scan,state")</description>
<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="sdfit" category="single dish">
<shortdescription>Fit a spectral line</shortdescription>
Task sdfit is a basic line-fitter for single-dish spectra.
It assumes that the spectra have been calibrated in tsdcal
<param type="path" name="infile" mustexist="true"><shortdescription>name of input SD dataset</shortdescription><description>name of input SD dataset</description>
<param type="string" name="datacolumn" ignorecase="true"><shortdescription>name of data column to be used ["data", "float_data", or "corrected_data"]</shortdescription><description>name of data column to be used ["data", "float_data", or "corrected_data"]</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 IF IDs (spectral windows), e.g. "3,5,7" (""=all)</shortdescription><description>select data by IF IDs (spectral windows), e.g. "3,5,7" (""=all)</description>
<param type="string" name="timerange"><shortdescription>select data by time range, e.g. "09:14:0~09:54:0" (""=all) (see examples in help)</shortdescription><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"><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="pol"><shortdescription>select data by polarization IDs, e.g. "XX,YY" (""=all)</shortdescription><description>select data by polarization IDs, e.g. "XX,YY" (""=all)</description>
<param type="string" name="intent"><shortdescription>select data by observational intent, e.g. "*ON_SOURCE*" (""=all)</shortdescription><description>select data by observational intent, e.g. "*ON_SOURCE*" (""=all)</description>
<param type="string" name="timebin"><shortdescription>bin width for time averaging</shortdescription><description>bin width for time averaging</description>