hera_sim.sigchain.MutualCoupling.__call__

MutualCoupling.__call__(freqs: ndarray, visibilities: ndarray, **kwargs) ndarray[source]

Calculate the first-order coupled visibilities.

Parameters:
  • freqs – The observed frequencies, in GHz.

  • visibilities – The full set of visibilities for the array. Should have shape (n_bls*n_times, n_freqs, [1,] n_pols).

  • kwargs – Additional parameters to use instead of the current attribute values for the class instance. See the class docstring for details.

Returns:

xt_vis – The first-order correction to the visibilities due to mutual coupling between array elements. Has the same shape as the provided visibilities.

Notes

This method is somewhat memory hungry, as it produces two arrays which are each twice as large as the input visibility array in intermediate steps of the calculation.