<param type="any" name="rms"><shortdescription>RMS to use in calculation of uncertainties. Numeric or valid quantity (record or string). If numeric, it is given units of the input image. If quantity, units must conform to image units. If not positive, the rms of the residual image, in the region of the fit, is used.</shortdescription><description>RMS to use in calculation of uncertainties. Numeric or valid quantity (record or string). If numeric, it is given units of the input image. If quantity, units must conform to image units. If not positive, the rms of the residual image, in the region of the fit, is used.</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="imfit" category="analysis">
<shortdescription>Fit one or more elliptical Gaussian components on an image region(s)</shortdescription>
<param type="path" name="imagename" mustexist="true"><shortdescription>Name of the input image</shortdescription><description>Name of the input image</description>
<example>imagename='ngc5921.im'</example>
<param type="string" name="box"><shortdescription>Rectangular region(s) to select in direction plane. Default is to use the entire direction plane.</shortdescription><description>Rectangular region(s) to select in direction plane. Default is to use the entire direction plane.</description>
<example>box='100,120,200,200'</example>
<param type="any" name="region"><shortdescription>Region selection. Default is to use the full image.</shortdescription><description>Region selection. Default is to use the full image.</description>
<any type="variant" limittype="string stringArray record"/>
<example>region='myregion'</example>
<param type="any" name="chans"><shortdescription>Channels to use. Default is to use all channels.</shortdescription><description>Channels to use. Default is to use all channels.</description>
<any type="variant" limittype="string int"/>
<param type="string" name="stokes"><shortdescription>Stokes planes to use. Default is to use first Stokes plane.</shortdescription><description>Stokes planes to use. Default is to use first Stokes plane.</description>
<example>stokes='Q'</example>
<param type="string" name="mask"><shortdescription>Mask to use. Default is none.</shortdescription><description>Mask to use. Default is none.</description>
<param type="intVec" name="includepix"><shortdescription>Range of pixel values to include for fitting.</shortdescription><description>Range of pixel values to include for fitting.</description>
<example>includepix=[0.5,500]</example>
<param type="intVec" name="excludepix"><shortdescription>Range of pixel values to exclude for fitting.</shortdescription><description>Range of pixel values to exclude for fitting.</description>
<example>excludepix=[-500,.05]</example>
<param type="string" name="residual"><shortdescription>Name of output residual image.</shortdescription><description>Name of output residual image.</description>
<example>residual='ngc5921_fit_resid.im'</example>
<param type="string" name="model"><shortdescription>Name of output model image.</shortdescription><description>Name of output model image.</description>