<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="imval" category="analysis, information">
<shortdescription>Get the data value(s) and/or mask value in an image.</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_task.image'</example>
<param type="any" name="region"><shortdescription>Region selection. Empty string (default) means use rules for box/chans/stokes specification.</shortdescription><description>Region selection. Empty string (default) means use rules for box/chans/stokes specification.</description>
<any type="variant" limittype="string stringArray"/>
<param type="string" name="box"><shortdescription>Rectangular region(s) to select in direction plane. Empty string (default) means use the reference pixel.</shortdescription><description>Rectangular region(s) to select in direction plane. Empty string (default) means use the reference pixel.</description>
<param type="string" name="chans"><shortdescription>Channels to use. Default is to use all channels.</shortdescription><description>Channels to use. Default is to use all channels.</description>
<param type="string" name="stokes"><shortdescription>Stokes planes to use. Planes specified must be contiguous. Default is to use all Stokes planes.</shortdescription><description>Stokes planes to use. Planes specified must be contiguous. Default is to use all Stokes planes.</description>
<example>stokes="IQ"</example>
<example>stokes="RR,LL"</example>
<param type="any" name="blc"><shortdescription>Bottom-left corner of the bounding box that encloses the region being examined..</shortdescription><description>Bottom-left corner of the bounding box that encloses the region being examined..</description>
<param type="any" name="trc"><shortdescription>top-right corner of the bounding box that encloses the region being examined.</shortdescription><description>top-right corner of the bounding box that encloses the region being examined.</description>
<param type="any" name="axes"><shortdescription>A listing of the axis index numbers and the data stored along that axis.</shortdescription><description>A listing of the axis index numbers and the data stored along that axis.</description>
<param type="any" name="unit"><shortdescription>The units the data values are stored and displayed in.</shortdescription><description>The units the data values are stored and displayed in.</description>