<casaxml xsi:schemaLocation="http://casa.nrao.edu/schema/casa.xsd file:///opt/casa/code/xmlcasa/xml/casa.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://casa.nrao.edu/schema/psetTypes.html">
<task category="manipulation" name="hanningsmooth" type="function">
<shortdescription>Hanning smooth frequency channel data to remove Gibbs ringing</shortdescription>
The hanningsmooth task uses the MSTransform framework underneath but
keeps roughly the same interface as the old hanningsmooth task.
This function Hanning smooths the frequency channels with a weighted
running average. The weights are 0.5 for the central channel and 0.25
for each of the two adjacent channels. The first and last channels are
flagged. Inclusion of a flagged value in an average causes that data
If the 'CORRECTED' data column is requested for an MS that does not
contain this column, it will use 'DATA' to calculate the smoothing and
save it to 'DATA' in the output MS.
WARNING: by default, all visibility columns will be smoothed.
<param mustexist="true" name="vis" type="path">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Example: vis='ngc5921.ms'
<param name="outputvis" type="string">
<shortdescription>Name of output visibility file</shortdescription>
<description>Name of output visibility file
Default: '' (same as vis)
Example: outputvis='ngc5921_out.ms'
<param name="keepmms" type="bool">
<shortdescription>Create a Multi-MS as the output if the input is a Multi-MS.</shortdescription>
<description>Create a Multi-MS as the output if the input is a
By default it will create a Multi-MS when the
input is a Multi-MS. The output Multi-MS will
have the same partition axis of the input
MMS. See CASA Docs for more information on
<param name="field" type="any">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>