This is the new implementation of hanningsmooth.

* Task hanningsmooth2 has been renamed to hanningsmooth.
* Please, update your scripts to call hanningsmooth instead.

The new hanningsmooth task uses the MSTransform framework underneath but keeps roughly the same interface as previous version of hanningsmooth.

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 value to be flagged.

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.

Parameter Descriptions

Input and output MeasurementSets

The input visibility file (MS or MMS) given by the vis parameters will be Hanning smoothed and saved in an output given by the outputvis parameter.

For example, vis = [''], outputvis = 'out_ngc5921.mms'. 

Output MS or Multi-MS: keepmms parameter

If keepmms = True, a Multi-MS will be created as the output if the input is a Multi-MS(MMS), which is the default behaviour. The output Multi-MS will have the same partition axis of the input MMS. See the Parallel Processing chapter for more information on the MMS format.

Data Column parameter

The parameter datacolumn chooses which column to use for the processing (case-insensitive). The default is set to all columns that exist in the input MS. 

Data Selection parameters

For more details on how to perform data selection within the MS (i.e., selecting by field, SPW, antenna, etc.), see the Visibility Data Selection chapter.