<?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="hanningsmooth" category="manipulation">
<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 type="string" name="vis" mustexist="true">
<shortdescription>Name of input visibility file</shortdescription>
<description>Name of input visibility file
Example: vis='ngc5921.ms'
<value type="string"></value>
<param type="string" name="outputvis">
<shortdescription>Name of output visibility file</shortdescription>
<description>Name of output visibility file
Default: '' (same as vis)
Example: outputvis='ngc5921_out.ms'
<param type="bool" name="keepmms">
<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 type="any" name="field">
<shortdescription>Select field using field id(s) or field name(s)</shortdescription>
<description>Select field using field id(s) or field name(s)
Use 'go listobs' to obtain the list id's or
names. If field string is a non-negative integer,
it is assumed a field index, otherwise, it is
field='0~2'; field ids 0,1,2
field='0,4,5~7'; field ids 0,4,5,6,7
field='3C286,3C295'; field named 3C286 and
field = '3,4C*'; field id 3, all names
<any type="variant" limittypes="string stringArray int intArray"/>
<value type="string"></value>
<param type="any" name="spw">