hifa_lock_refant¶
Note
Parameters set to None will use intelligent defaults from the pipeline context.
Pass explicit values to override context defaults.
- hifa_lock_refant(vis=None, unregister_spwphaseup=None)[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_bandpassandhifa_spwphaseupare each called a second time after this stage to ensure those calibration tables are computed using the fixed reference antenna.By default, executing
hifa_lock_refantwill unregister any caltable made by anyhifa_spwphaseupstage run prior tohifa_lock_refant. The unregisteredhifa_spwphaseupcaltables cannot be 're-registered'. In the current Pipeline use case, these are 'phase offset' caltable(s). For the polarization recipe wherehifa_lock_refantis used, thehifa_spwphaseupstage will be called again.The refant list can be unlocked with the
hifa_unlock_refanttask, 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']unregister_spwphaseup -- Boolean option to remove any caltable created by any hifa_spwphaseup stage run prior to lock_refant. In the current Pipeline use case, hifa_spwphaseup makes phase offset tables (per spectral spec) to align spws. Defaults to True
- Return type:
ResultsList[Results]
Notes
Only used in polarization recipes.
- Returns:
The results object for the pipeline task is returned.
- Return type:
ResultsList[Results]
Examples
Lock the refant list for all MSes in pipeline context:
>>> hifa_lock_refant()