<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" ?>
<casaxml xmlns="http://casa.nrao.edu/schema/psetTypes.html"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd
file:///opt/casa/code/xmlcasa/xml/casa.xsd">
<task type="function" name="imrebin" category="analysis">
<shortdescription>Rebin an image by the specified integer factors</shortdescription>
<param type="string" name="imagename" mustexist="true">
<description>Name of the input image</description>
<example>imagenam='ngc5921.im'</example>
<param type="string" direction="in" name="outfile">
<description>Output image name.</description>
<param type="intArray" name="factor">
<description>Binning factors for each axis. Use imhead or ia.summary to determine axis ordering.</description>
<param type="any" direction="in" name="region">
<description>Region selection. See "help par.region" for details. Default is to use the full image.</description>
<param type="string" direction="in" name="box">
<description>Rectangular region to select in direction plane. See "help par.box" for details. Default is to use the entire direction plane.</description>
<param type="string" direction="in" name="chans">
<description>Channels to use. See "help par.chans" for details. Default is to use all channels.</description>
<param type="string" direction="in" name="stokes">
<description>Stokes planes to use. See "help par.stokes" for details. Default is to use all Stokes planes. Stokes planes cannot be rebinned.</description>
<param type="string" direction="in" name="mask">
<description>Mask to use. See help par.mask. Default is none.</description>
<param type="bool" name="dropdeg">
<description>Drop degenerate axes?</description>
<param type="bool" direction="in" name="overwrite" subparam="true">
<description>Overwrite the output if it exists? Default False</description>
<param type="bool" direction="in" name="stretch" subparam="true">
<description>Stretch the mask if necessary and possible? See help par.stretch </description>
<param type="bool" name="crop">
<description>Remove pixels from the end of an axis to be rebinned if there are not enough to form an integral bin?</description>