<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="analysis, imaging" name="imcontsub" type="function">
<shortdescription>Estimates and subtracts continuum emission from an image cube</shortdescription>
Estimates and subtracts continuum emission from an image cube
For each direction pixel (x, y) column in imagename (or a subset
selected by region and/or box), this estimates the continuum by
fitting a polynomial to one or more subsets of the channels. The
continuum estimate is saved in contfile, and subtracted from imagename
(or its subset) to make a spectral line estimate, which is saved in
<param mustexist="true" name="imagename" type="path">
<shortdescription>Name of the input spectral line image</shortdescription>
<description>Input image cube.
Example: imagename='ngc5921_task.im'
<example>inputfile=ngc5921_task.image</example>
<param name="linefile" type="string">
<shortdescription>Output continuum-subtracted image file name</shortdescription>
<description>Name of continuum-subtracted output spectral line cube
Example: outline='ngc5921_line.im'
<example>outline=ngc5921_line.image</example>
<param name="contfile" type="string">
<shortdescription>Output continuum image file name</shortdescription>
<description>Name of output continuum cube
Example: contfile='ngc5921_cont.im'
<example>outcont=ngc5921_cont.image</example>
<param name="fitorder" type="int">
<shortdescription>Polynomial order for the continuum estimation</shortdescription>
<description>Polynomial order for the continuum estimation