hifv_priorcals¶
Note
Parameters set to None will use intelligent defaults from the pipeline context.
Pass explicit values to override context defaults.
- hifv_priorcals(vis=None, show_tec_maps=None, apply_tec_correction=None, apply_gaincurves=None, apply_opcal=None, apply_rqcal=None, apply_antpos=None, apply_swpowcal=None, swpow_spw=None, ant_pos_time_limit=None)[source]¶
Runs gaincurves, opacities, requantizer gains, antenna position corrections, tec_maps, switched power.
- Parameters:
vis (str) --
List of visibility data files. These may be ASDMs, tar files of ASDMs, MSes, or tar files of MSes, If ASDM files are specified, they will be converted to MS format.
Example:
vis=['X227.ms', 'asdms.tar.gz']show_tec_maps (bool) -- Plot tec maps. Display the plot output from the CASA tec_maps recipe function.
apply_tec_correction -- Apply tec correction. CASA tec_maps recipe function is executed - this bool determines if gencal is executed and the resulting table applied
apply_gaincurves (bool) -- Apply gain curves correction, default True.
apply_opcal (bool) -- Apply opacities correction, default True.
apply_rqcal (bool) -- Apply requantizer gains correction, default True.
apply_antpos (bool) -- Apply antenna position corrections, default True.
apply_swpowcal (bool) -- Apply switched power table, default False. If set True,
apply_rqcalis ignored and no requantizer gain correction will be applied.swpow_spw (str) -- Spectral-window(s) for plotting: "" ==>all, spw="6, 14"
ant_pos_time_limit (int) -- Antenna position time limit in days, default to 150 days.
- Return type:
ResultsList[Results]
Examples
Run gaincurves, opacities, requantizer gains and antenna position corrections:
>>> hifv_priorcals()