pipeline.hifa.tasks.targetflag package

Submodules

pipeline.hifa.tasks.targetflag.qa module

class pipeline.hifa.tasks.targetflag.qa.TargetflagListQAHandler[source]

Bases: pipeline.infrastructure.pipelineqa.QAPlugin

QA handler for a list containing TargetflagResults.

child_cls

alias of pipeline.hifa.tasks.targetflag.targetflag.TargetflagResults

handle(context, result)[source]
result_cls

alias of pipeline.infrastructure.basetask.ResultsList

class pipeline.hifa.tasks.targetflag.qa.TargetflagQAHandler[source]

Bases: pipeline.infrastructure.pipelineqa.QAPlugin

QA handler for an uncontained TargetflagResults.

child_cls = None
handle(context, result)[source]
result_cls

alias of pipeline.hifa.tasks.targetflag.targetflag.TargetflagResults

pipeline.hifa.tasks.targetflag.renderer module

Created on 18 Mar 2020

@author: Dirk Muders (MPIfR)

class pipeline.hifa.tasks.targetflag.renderer.T2_4MDetailsTargetflagRenderer(uri='targetflag.mako', description='Target outlier flagging', always_rerender=False)[source]

Bases: pipeline.infrastructure.renderer.basetemplates.T2_4MDetailsDefaultRenderer

Renders detailed HTML output for the TargetFlag task.

update_mako_context(mako_context, pipeline_context, results)[source]

pipeline.hifa.tasks.targetflag.targetflag module

class pipeline.hifa.tasks.targetflag.targetflag.AmpVsXChart(xaxis, context, output_dir, calto, **overrides)[source]

Bases: pipeline.h.tasks.common.displays.applycal.SpwSummaryChart

Plotting class that creates an amplitude vs X plot for each spw, where X is given as a constructor argument.

class pipeline.hifa.tasks.targetflag.targetflag.Targetflag(inputs)[source]

Bases: pipeline.infrastructure.basetask.StandardTaskTemplate

Inputs

alias of TargetflagInputs

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()[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.targetflag.targetflag.TargetflagInputs(context, vis=None)[source]

Bases: pipeline.infrastructure.vdp.StandardInputs

class pipeline.hifa.tasks.targetflag.targetflag.TargetflagResults[source]

Bases: pipeline.infrastructure.basetask.Results

merge_with_context(context)[source]

See :method:`~pipeline.infrastructure.api.Results.merge_with_context`

pipeline.hifa.tasks.targetflag.targetflag.create_plots(inputs, context, flagcmds, suffix='')[source]

Return amplitude vs time plots for the given data column.

Parameters
  • inputs – pipeline inputs

  • context – pipeline context

  • flagcmds – list of FlagCmd objects

  • suffix – optional component to add to the plot filenames

Returns

dict of (x axis type => str, [plots,…])

Module contents

class pipeline.hifa.tasks.targetflag.Targetflag(inputs)[source]

Bases: pipeline.infrastructure.basetask.StandardTaskTemplate

Inputs

alias of TargetflagInputs

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()[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