hifa_lock_refant¶
- hifa_lock_refant(vis=None) ResultsList[Results][source]¶
Lock the reference antenna to a single antenna with
refantmode='fixed'.Sets the reference antenna to a single antenna and sets
refantmode='fixed'for all subsequent calibration tasks, preventing any subsequent modification of the refant list.In the polarization (polcal and polcalimage) recipes, hifa_bandpass and hifa_spwphaseup are each called a second time after this stage to ensure those calibration tables are computed using the fixed reference antenna.
The refant list can be unlocked with the hifa_unlock_refant task, although that is not needed in the standard polcal and polcalimage recipes.
- Parameters:
vis --
List of input MeasurementSets. Defaults to the list of MeasurementSets specified in the pipeline context.
Example:
vis=['ngc5921.ms']
Notes
Only used in polarization recipes.
- Returns:
The results object for the pipeline task is returned.
Examples
Lock the refant list for all MSes in pipeline context:
>>> hifa_lock_refant()