<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="rmfit" category="analysis">
<shortdescription>Calculate rotation measure.</shortdescription>
<param type="any" name="imagename" mustexist="true"><shortdescription>Name(s) of the input image(s). Must be specified.</shortdescription><description>Name(s) of the input image(s). Must be specified.</description>
<any type="variant" limittype="string stringArray"/>
<example>imagename='ngc5921.im'</example>
<param type="string" direction="in" name="rm"><shortdescription>Output rotation measure image name. If not specified, no image is written.</shortdescription><description>Output rotation measure image name. If not specified, no image is written.</description>
<param type="string" direction="in" name="rmerr"><shortdescription>Output rotation measure error image name. If not specified, no image is written.</shortdescription><description>Output rotation measure error image name. If not specified, no image is written.</description>
<param type="string" direction="in" name="pa0"><shortdescription>Output position angle (degrees) at zero wavelength image name. If not specified, no image is written.</shortdescription><description>Output position angle (degrees) at zero wavelength image name. If not specified, no image is written.</description>
<param type="string" direction="in" name="pa0err"><shortdescription>Output position angle (degrees) at zero wavelength error image name. If not specified, no image is written.</shortdescription><description>Output position angle (degrees) at zero wavelength error image name. If not specified, no image is written.</description>
<param type="string" direction="in" name="nturns"><shortdescription>Output number of turns image name. If not specified, no image is written.</shortdescription><description>Output number of turns image name. If not specified, no image is written.</description>
<param type="string" direction="in" name="chisq"><shortdescription>Output reduced chi squared image name. If not specified, no image is written.</shortdescription><description>Output reduced chi squared image name. If not specified, no image is written.</description>
<param type="double" direction="in" name="sigma"><shortdescription>Estimate of the thermal noise. A value less than 0 means auto estimate.</shortdescription><description>Estimate of the thermal noise. A value less than 0 means auto estimate.</description>
<param type="double" direction="in" name="rmfg"><shortdescription>Foreground rotation measure in rad/m/m to subtract.</shortdescription><description>Foreground rotation measure in rad/m/m to subtract.</description>
<param type="double" direction="in" name="rmmax"><shortdescription>Maximum rotation measure in rad/m/m for which to solve. IMPORTANT TO SPECIFY.</shortdescription><description>Maximum rotation measure in rad/m/m for which to solve. IMPORTANT TO SPECIFY.</description>
<param type="double" direction="in" name="maxpaerr"><shortdescription>Maximum input position angle error in degrees to allow in solution determination.</shortdescription><description>Maximum input position angle error in degrees to allow in solution determination.</description>
imagename Name(s) of the input image(s).
rm Output rotation measure image name. If not specified, no image is written.