Hanning
- class Hanning(inputs)[source]
Bases:
StandardTaskTemplateClass for the hifv_hanning pipeline smoothing task. Used on VLA measurement sets.
The class inherits from basetask.StandardTaskTemplate
Methods Summary
analyse(results)Method to analyse the results of the hanning smoothing operation.
prepare()Method where the hanning smoothing operation is executed.
Methods Documentation
- analyse(results: Results) Results[source]
Method to analyse the results of the hanning smoothing operation.
- Parameters:
results -- Results object from the prepare() method.
- Returns:
The same Results object passed in, unmodified.
- prepare() HanningResults[source]
Method where the hanning smoothing operation is executed.
The MS SPECTRAL_WINDOW table is examined to see if the SDM_NUM_BIN value is greater than 1. If the value is great than 1, then hanning smoothing does not proceed.
The CASA task hanningsmooth() is executed on the data, creating a temporary measurement set (MS). The original MS is removed from disk, and the temporary MS is renamed to the original MS. An exception in thrown if an error occurs.
- Returns:
HanningResults() type object