hifa_flagtargets¶
- hifa_flagtargets(vis=None, template=None, filetemplate=None, flagbackup=None, parallel=None) ResultsList[Results][source]¶
Apply observatory-scientist flagging templates to science target data.
Applies custom flagging commands to the science target MeasurementSets if determined to be necessary by an observatory scientist. The commands are read from the
flagtargetstemplate.txtfiles linked from the WebLog page. The WebLog also displays a summary table of any flagging performed, including the number and fraction of data flagged per antenna, spw, and intent.- 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,FalseDefault:
None(equivalent toFalse)
- Returns:
The results object for the pipeline task is returned.
Examples
Apply the science target flagging template:
>>> hifa_flagtargets()