<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="imsmooth" category="analysis">
<shortdescription>Smooth an image or portion of an image</shortdescription>
<param type="path" name="imagename" kind="image" mustexist="true"><shortdescription>Name of the input image. Must be specified.</shortdescription><description>Name of the input image. Must be specified.</description>
<param type="string" name="kernel"><shortdescription>Type of kernel to use. Acceptable values are "b", "box", or "boxcar" for a boxcar kernel, "g", "gauss", or "gaussian" for a gaussian kernel, "c", "common", or "commonbeam" to use the common beam of an image with multiple beams as the gaussian to which to convolve all the planes, "i" or "image" to use an image as the kernel.</shortdescription><description>Type of kernel to use. Acceptable values are "b", "box", or "boxcar" for a boxcar kernel, "g", "gauss", or "gaussian" for a gaussian kernel, "c", "common", or "commonbeam" to use the common beam of an image with multiple beams as the gaussian to which to convolve all the planes, "i" or "image" to use an image as the kernel.</description>
<value>commonbeam</value>
<param type="any" name="major" subparam="true"><shortdescription>Major axis for the kernels. Standard quantity representation. Must be specified for kernel="boxcar".</shortdescription><description>Major axis for the kernels. Standard quantity representation. Must be specified for kernel="boxcar".</description>
<any type="variant" limittype="string int float record"/>
<example>"4arcsec"</example>
<param type="any" name="minor" subparam="true"><shortdescription>Minor axis. Standard quantity representation. Must be specified for kernel="boxcar".</shortdescription><description>Minor axis. Standard quantity representation. Must be specified for kernel="boxcar".</description>
<any type="variant" limittype="string int float record"/>
<example>"2arcsec"</example>
<param type="any" name="pa" subparam="true"><shortdescription>Position angle used only for gaussian kernel. Standard quantity representation.</shortdescription><description>Position angle used only for gaussian kernel. Standard quantity representation.</description>
<any type="variant" limittype="string int float record"/>
<example>"40deg"</example>
<param type="bool" name="targetres" subparam="true"><shortdescription>If gaussian kernel, specified parameters are to be resolution of output image (True) or parameters of gaussian to convolve with input image (False).</shortdescription><description>If gaussian kernel, specified parameters are to be resolution of output image (True) or parameters of gaussian to convolve with input image (False).</description>
<value type="bool">False</value>
<param type="string" name="kimage" subparam="true"><shortdescription>Kernel image name. Only used if kernel="i" or "image".</shortdescription><description>Kernel image name. Only used if kernel="i" or "image".</description>
<param type="double" name="scale" subparam="true"><shortdescription>Scale factor. -1.0 means auto-scale. Only used if kernel="i" or "image".</shortdescription><description>Scale factor. -1.0 means auto-scale. Only used if kernel="i" or "image".</description>
<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>
<any type="variant" limittype="string stringArray"/>
<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>
<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. Default is to use all Stokes planes.</shortdescription><description>Stokes planes to use. Default is to use all Stokes planes.</description>
<param type="string" name="mask"><shortdescription>Mask to use. Default is none.</shortdescription><description>Mask to use. Default is none.</description>