apply_gaintable

apply_gaintable(vis: Visibility, gt: GainTable, inverse=False, **kwargs) Visibility[source]

Apply a gain table to a visibility

The corrected visibility is:

V_corrected = {g_i * g_j^*}^-1 V_obs

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 vis with gains applied