<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="specsmooth" category="analysis">
<shortdescription>Smooth an image region in one dimension</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="string" name="outfile"><shortdescription>Output image name.</shortdescription><description>Output image name.</description>
<example>outfile='mysmoothed.im'</example>
<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="4,4,10,10"</example>
<param type="string" name="chans"><shortdescription>Channels to use. Channels must be contiguous. Default is to use all channels.</shortdescription><description>Channels to use. Channels must be contiguous. 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="I"</example>
<param type="any" 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="myregion.rgn"</example>
<param type="string" name="mask"><shortdescription>Mask to use. Default is none..</shortdescription><description>Mask to use. Default is none..</description>
<param type="bool" name="overwrite" subparam="true"><shortdescription>Overwrite the output if it exists?</shortdescription><description>Overwrite the output if it exists?</description>
<param type="bool" name="stretch" subparam="true"><shortdescription>Stretch the mask if necessary and possible? Default False</shortdescription><description>Stretch the mask if necessary and possible? Default False</description>
<param type="int" name="axis"><shortdescription>The profile axis. Default: use the spectral axis if one exists, axis 0 otherwise (<0).</shortdescription><description>The profile axis. Default: use the spectral axis if one exists, axis 0 otherwise (<0).</description>
<example>axis=3</example>
<param type="string" name="function"><shortdescription>Convolution function. hanning and boxcar are supported functions. Minimum match is supported.</shortdescription><description>Convolution function. hanning and boxcar are supported functions. Minimum match is supported.</description>
<example>function="boxcar"</example>
<param type="int" name="width" subparam="True"><shortdescription>Width of boxcar, in pixels.</shortdescription><description>Width of boxcar, in pixels.</description>
<example>width=2</example>
<param type="string" name="dmethod"><shortdescription>Decimation method. "" means no decimation, "copy" and "mean" are also supported (minimum match).</shortdescription><description>Decimation method. "" means no decimation, "copy" and "mean" are also supported (minimum match).</description>
<example>dmethod="mean"</example>
<notequals type="string" value="">
<default param="overwrite">
<notequals type="string" value="">
<default param="stretch">
<notequals type="string" value="hanning">