pipeline.hifa.tasks.targetflag package¶
Submodules¶
pipeline.hifa.tasks.targetflag.qa module¶
-
class
pipeline.hifa.tasks.targetflag.qa.TargetflagListQAHandler[source]¶ Bases:
pipeline.infrastructure.pipelineqa.QAPluginQA handler for a list containing TargetflagResults.
-
child_cls¶ alias of
pipeline.hifa.tasks.targetflag.targetflag.TargetflagResults
-
result_cls¶
-
-
class
pipeline.hifa.tasks.targetflag.qa.TargetflagQAHandler[source]¶ Bases:
pipeline.infrastructure.pipelineqa.QAPluginQA handler for an uncontained TargetflagResults.
-
child_cls= None¶
-
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_4MDetailsDefaultRendererRenders detailed HTML output for the TargetFlag task.
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.SpwSummaryChartPlotting 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 of
JobRequest) – the job requests generated byprepare()- Return type
Result
-
-
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 of
JobRequest) – the job requests generated byprepare()- Return type
Result
-