apply_gaintable
- ska_sdp_func_python.calibration.operations.apply_gaintable(vis: Visibility, gt: GainTable, inverse=False, use_flags=False) Visibility [source]
Apply a GainTable to a Visibility. The corrected visibility is:
V_corrected = {g_i * g_j^*}^-1 V_obs
see https://github.com/ratt-ru/fundamentals_of_interferometry/blob/ master/8_Calibration/8_1_calibration_least_squares_problem.ipynb
If the visibility data are polarised e.g. polarisation_frame(“linear”) then the inverse operator represents an actual inverse of the gains.
- Parameters:
vis – Visibility to have gains applied
gt – GainTable to be applied
inverse – Apply the inverse (default=False)
- Returns:
input Visibility with gains applied