pipeline.hifv.tasks.hanning package¶
Submodules¶
pipeline.hifv.tasks.hanning.hanning module¶
-
class
pipeline.hifv.tasks.hanning.hanning.Hanning(inputs)[source]¶ Bases:
pipeline.infrastructure.basetask.StandardTaskTemplateClass for the hifv_hanning pipeline smoothing task. Used on VLA measurement sets.
The class inherits from basetask.StandardTaskTemplate
-
Inputs¶ alias of
HanningInputs
-
analyse(results)[source]¶ Determine the best parameters by analysing the given jobs before returning any final jobs to execute.
Override method of basetask.StandardTaskTemplate.analyze()
- Parameters
jobs (list of class – ~pipeline.infrastructure.jobrequest.JobRequest): the job requests generated by
prepare()- Returns
~pipeline.api.Result
- Return type
class
-
prepare()[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
-
-
class
pipeline.hifv.tasks.hanning.hanning.HanningInputs(context, vis=None)[source]¶ Bases:
pipeline.infrastructure.vdp.StandardInputsInputs class for the hifv_hanning pipeline smoothing task. Used on VLA measurement sets.
The class inherits from vdp.StandardInputs.
-
class
pipeline.hifv.tasks.hanning.hanning.HanningResults(final=None, pool=None, preceding=None)[source]¶ Bases:
pipeline.infrastructure.basetask.ResultsResults class for the hifv_hanning pipeline smoothing task. Used on VLA measurement sets.
The class inherits from basetask.Results
pipeline.hifv.tasks.hanning.qa module¶
-
class
pipeline.hifv.tasks.hanning.qa.HanningListQAHandler[source]¶ Bases:
pipeline.infrastructure.pipelineqa.QAPluginQA handler for a list containing HanningResults.
-
child_cls¶
-
generating_task¶
-
result_cls¶ alias of
collections.abc.Iterable
-