hanningsmooth – Hanning smooth frequency channel data to remove Gibbs ringing – manipulation task

Description

  • The old implementation is available for a short time as oldhanningsmooth.

  • Task hanningsmooth2 has been renamed to hanningsmooth. The hanningsmooth2 alias will be removed soon.

  • Please, update your scripts to call hanningsmooth instead.


Th new 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 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.

Parameters

Title

Parameter

Default

Description

vis

''

outputvis

''

keepmms

True

field

''

spw

''

scan

''

antenna

''

correlation

''

timerange

''

intent

''

array

''

uvrange

''

observation

''

feed

''

datacolumn

'all'

Parameter Explanations

vis

''

Name of input Measurement set or Multi-MS.

outputvis

''

Name of output Measurement set or Multi-MS.

keepmms

True

If the input is a Multi-MS the output will also be a Multi-MS.

field

''

Select field using ID(s) or name(s).

spw

''

Select spectral window/channels.

scan

''

Select data by scan numbers.

antenna

''

Select data based on antenna/baseline.

correlation

''

Correlation: '' ==> all, correlation='XX,YY'.

timerange

''

Select data by time range.

intent

''

Select data by scan intent.

array

''

Select (sub)array(s) by array ID number.

uvrange

''

Select data by baseline length.

observation

''

Select by observation ID(s).

feed

''

Multi-feed numbers: Not yet implemented.

datacolumn

'all'

Input data column(s) to process.