pipeline.hifa.tasks.unlock_refant package

Submodules

pipeline.hifa.tasks.unlock_refant.unlock_refant module

class pipeline.hifa.tasks.unlock_refant.unlock_refant.UnlockRefAnt(inputs)[source]

Bases: pipeline.infrastructure.basetask.StandardTaskTemplate

Inputs

alias of UnlockRefAntInputs

analyse(results)[source]

Determine the best parameters by analysing the given jobs before returning any final jobs to execute.

Parameters

jobs (a list ofJobRequest) – the job requests generated by prepare()

Return type

Result

prepare(**parameters)[source]

Prepare job requests for execution.

Parameters

parameters – the parameters to pass through to the subclass. Refer to the implementing subclass for specific information on what these parameters are.

Return type

a class implementing Result

class pipeline.hifa.tasks.unlock_refant.unlock_refant.UnlockRefAntInputs(context, vis=None, output_dir=None)[source]

Bases: pipeline.infrastructure.vdp.StandardInputs

to_casa_args()[source]

Express these inputs as a dictionary of CASA arguments. The values in the dictionary are in a format suitable for CASA and can be directly passed to the CASA task.

Return type

a dictionary of string/??? kw/val pairs

class pipeline.hifa.tasks.unlock_refant.unlock_refant.UnlockRefAntResults(vis: str)[source]

Bases: pipeline.infrastructure.basetask.Results

merge_with_context(context: pipeline.infrastructure.launcher.Context)[source]

Merge these results with the given context.

This method will be called during the execution of accept(). For calibration tasks, a typical implementation will register caltables with the pipeline callibrary.

At this point the result is deemed safe to merge, so no further checks on the context need be performed.

Parameters

context (Context) – the target Context

Module contents