<param type="string" name="imagemd"><shortdescription>An image name from which metadata should be copied. The input can be either an image listed under imagename or any other image on disk. Leaving this parameter unset may copy header metadata from any of the input images, which one is not guaranteed. </shortdescription><description>An image name from which metadata should be copied. The input can be either an image listed under imagename or any other image on disk. Leaving this parameter unset may copy header metadata from any of the input images, which one is not guaranteed. </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="immath" category="analysis">
<shortdescription>Perform math operations on images</shortdescription>
<description> math on images
<param type="any" name="imagename"><shortdescription>a list of input images </shortdescription><description>a list of input images </description>
<any type="variant" limttypes="string stringArray"/>
<param type="string" name="mode"><shortdescription>mode for math operation (evalexpr, spix, pola, poli, lpoli, tpoli)</shortdescription><description>mode for math operation (evalexpr, spix, pola, poli, lpoli, tpoli)</description>
<example>'evalexpr', 'spix', 'pola', or 'poli' </example>
<param type="string" name="outfile"><shortdescription>File where the output is saved</shortdescription><description>File where the output is saved</description>
<value>immath_results.im</value>
<example>outfile="newimage"</example>
<param type="string" name="expr" subparam="true"><shortdescription>Mathematical expression using images</shortdescription><description>Mathematical expression using images</description>
<example>expr='"sin(image1.im)+(image2.im*2)+real(image3.im)"'</example>
<param type="any" name="varnames" subparam="true"><shortdescription>a list of variable names to use with the image files</shortdescription><description>a list of variable names to use with the image files</description>
<any type="variant" limttypes="string stringArray"/>
<param type="string" name="sigma" subparam="true"><shortdescription>standard deviation of noise for debiasing</shortdescription><description>standard deviation of noise for debiasing</description>
<value>0.0mJy/beam</value>
<param type="string" name="polithresh" subparam="true"><shortdescription>Threshold in linear polarization intensity image below which to mask pixels.</shortdescription><description>Threshold in linear polarization intensity image below which to mask pixels.</description>
<param type="string" name="mask"><shortdescription>Mask to use. Default is none.</shortdescription><description>Mask to use. Default is none.</description>
<param type="string" name="region"><shortdescription>Region selection. Default is to use the full image.</shortdescription><description>Region selection. Default is to use the full image.</description>
<param type="string" name="box"><shortdescription>Rectangular region to select in direction plane. Default is to use the entire direction plane.</shortdescription><description>Rectangular region to select in direction plane. Default is to use the entire direction plane.</description>