hifv_flagtargetsdata¶
- hifv_flagtargetsdata(vis=None, template=None, filetemplate=None, flagbackup=None) ResultsList[Results][source]¶
Apply a flagtemplate to target data prior to running imaging pipeline tasks.
- Parameters:
vis (str) -- The list of input MeasurementSets. Defaults to the list of MeasurementSets defined in the pipeline context.
template (bool) -- Apply flagging templates.
filetemplate (str) -- 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. Flags from template will be applied to all relevant MSes.
flagbackup (bool) -- Back up any pre-existing flags.
- Returns:
The results object for the pipeline task is returned.
Examples
Basic flagtargetsdata task:
>>> hifv_flagtargetsdata()