hifa_polcalflag¶
- hifa_polcalflag(vis=None) ResultsList[Results][source]¶
Flag outlier visibilities in the polarization calibrator data.
Performs a temporary calibration and applies it, then identifies and flags outlier visibilities in the polarization calibrator by examining the scalar difference of calibrated amplitudes minus model amplitudes (the same approach as hifa_bandpassflag and hifa_gfluxscaleflag). The polarization calibrator is always treated as a multi-scan calibrator.
The WebLog shows amplitude vs. uv-distance and amplitude vs. time plots before flagging and (if any flags were found) after flagging.
- Parameters:
vis --
The list of input MeasurementSets. Defaults to the list of MeasurementSets specified in the hifa_importdata task. '': use all MeasurementSets in the context
Examples: 'ngc5921.ms', ['ngc5921a.ms', ngc5921b.ms', 'ngc5921c.ms']
Notes
QA = 1 - (fraction of data newly flagged). An additional score of 0.8 is assigned if any spw has an antenna that is fully flagged.
- Returns:
The results object for the pipeline task is returned.
Examples
Run with recommended settings to flag visibility outliers in the polarization calibrator data:
>>> hifa_polcalflag()