hera_sim.utils.jansky_to_kelvin

hera_sim.utils.jansky_to_kelvin(freqs: ndarray, omega_p: Beam | ndarray) ndarray[source]

Return Kelvin -> Jy conversion as a function of frequency.

Parameters:
  • freqs – Frequencies for which to calculate the conversion. Units of GHz.

  • omega_p – Beam area as a function of frequency. Must have the same shape as freqs if an ndarray. Otherwise, must be an interpolation object which converts frequencies (in GHz) to beam size.

Returns:

Jy_to_K – Array for converting Jy to K, same shape as freqs.