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.StandardTaskTemplate

Class 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.StandardInputs

Inputs 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.Results

Results class for the hifv_hanning pipeline smoothing task. Used on VLA measurement sets.

The class inherits from basetask.Results

merge_with_context(context)[source]
Parameters

context( – obj:): Pipeline context object

pipeline.hifv.tasks.hanning.qa module

class pipeline.hifv.tasks.hanning.qa.HanningListQAHandler[source]

Bases: pipeline.infrastructure.pipelineqa.QAPlugin

QA handler for a list containing HanningResults.

child_cls

alias of pipeline.hifv.tasks.hanning.hanning.HanningResults

generating_task

alias of pipeline.hifv.tasks.hanning.hanning.Hanning

handle(context, result)[source]
result_cls

alias of collections.abc.Iterable

class pipeline.hifv.tasks.hanning.qa.HanningQAHandler[source]

Bases: pipeline.infrastructure.pipelineqa.QAPlugin

child_cls = None
generating_task

alias of pipeline.hifv.tasks.hanning.hanning.Hanning

handle(context, result)[source]
result_cls

alias of pipeline.hifv.tasks.hanning.hanning.HanningResults

Module contents