pipeline.hifa.cli.hifa_flagtargets

hifa_flagtargets(vis=None, template=None, filetemplate=None, flagbackup=None, parallel=None) ResultsList[Results][source]

Do science target flagging.

The hifa_flagtargets task performs basic flagging operations on a list of science target MeasurementSets, including:

  • applying a flagging template

Parameters:
  • vis -- The list of input MeasurementSets. Defaults to the list of MeasurementSets defined in the pipeline context.

  • template -- Apply flagging templates; defaults to True.

  • filetemplate -- The name of a text file that contains the flagging template for issues with the science target data etc. If the template flags files is undefined a name of the form 'msname_flagtargetstemplate.txt' is assumed.

  • flagbackup -- Back up any pre-existing flags; defaults to False.

  • parallel --

    Process multiple MeasurementSets in parallel using the casampi parallelization framework.

    Options: 'automatic', 'true', 'false', True, False

    Default: None (equivalent to False)

Returns:

The results object for the pipeline task is returned.

Examples

  1. Do basic flagging on a science target MeasurementSet:

>>> hifa_flagtargets()