edges_cal.receiver_calibration_func.power_ratio

edges_cal.receiver_calibration_func.power_ratio(temp_ant, gamma_ant, gamma_rec, scale, offset, temp_unc, temp_cos, temp_sin, temp_noise_source, temp_load, return_terms=False)[source]

Compute the ratio of raw powers from the three-position switch.

Parameters:
  • temp_ant (array_like, shape (NFREQS,)) – Temperature of the antenna, or simulator.

  • gamma_ant (array_like, shape (NFREQS,)) – S11 of the antenna (or simulator)

  • gamma_rec (array_like, shape (NFREQS,)) – S11 of the receiver.

  • scale (np.poly1d) – A polynomial representing the C_1 term.

  • offset (np.poly1d) – A polynomial representing the C_2 term

  • temp_unc (np.poly1d) – A polynomial representing the uncorrelated noise-wave parameter

  • temp_cos (np.poly1d) – A polynomial representing the cosine noise-wave parameter

  • temp_sin (np.poly1d) – A polynomial representing the sine noise-wave parameter

  • temp_noise_source (array_like, shape (NFREQS,)) – Temperature of the internal noise source.

  • temp_load (array_like, shape (NFREQS,)) – Temperature of the internal load

  • return_terms (bool, optional) – If True, return the terms of Qp, rather than the sum of them._

Returns:

array_like (the quantity Q_P as a function of frequency.)

Notes

Computes (as a model)

\[Q_P = (P_ant - P_L)/(P_NS - P_L)\]