<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="imsubimage" category="analysis">
<shortdescription>Create a (sub)image from a region of the image</shortdescription>
<param type="path" name="imagename" mustexist="true"><shortdescription>Input image name. Default is unset.</shortdescription><description>Input image name. Default is unset.</description>
<param type="string" name="outfile"><shortdescription>Output image name. Default is unset.</shortdescription><description>Output image name. Default is unset.</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>
<example>box="100,100,200,200"</example>
<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>
<example>region="my.rgn"</example>
<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>
<example>chans="5~20"</example>
<param type="string" name="stokes"><shortdescription>Stokes planes to use. Default is to use all Stokes planes.</shortdescription><description>Stokes planes to use. Default is to use all Stokes planes.</description>
<example>stokes="iq"</example>
<param type="any" name="mask"><shortdescription>Mask to use. Default is none.</shortdescription><description>Mask to use. Default is none.</description>
<param type="bool" name="dropdeg"><shortdescription>Drop degenerate axes</shortdescription><description>Drop degenerate axes</description>
<param type="bool" name="overwrite" subparam="true"><shortdescription>Overwrite (unprompted) pre-existing output file?</shortdescription><description>Overwrite (unprompted) pre-existing output file?</description>
<param type="bool" name="verbose"><shortdescription>Post additional informative messages to the logger</shortdescription><description>Post additional informative messages to the logger</description>
<param type="bool" name="stretch" subparam="true"><shortdescription>Stretch the mask if necessary and possible? </shortdescription><description>Stretch the mask if necessary and possible? </description>
<param type="intVec" name="keepaxes" subparam="true"><shortdescription>If dropdeg=True, these are the degenerate axes to keep. Nondegenerate axes are implicitly always kept.</shortdescription><description>If dropdeg=True, these are the degenerate axes to keep. Nondegenerate axes are implicitly always kept.</description>