edges_cal.receiver_calibration_func.get_linear_coefficients_from_K

edges_cal.receiver_calibration_func.get_linear_coefficients_from_K(k, sca, off, t_unc, t_cos, t_sin, t_load=300)[source]

Calculate linear coefficients a and b from noise-wave parameters K0-4.

Parameters:
  • k (np.ndarray) – Shape (4, nfreq) array with each of the K-coefficients.

  • sca,off (array_like) – Scale and offset calibration parameters (i.e. C1 and C2). These are in the form of arrays over frequency (i.e. it is not the polynomial coefficients).

  • t_unc, t_cos, t_sin (array_like) – Noise-wave calibration parameters (uncorrelated, cosine, sine). These are in the form of arrays over frequency (i.e. not the polynomial coefficients).

  • t_load (float, optional) – The nominal temperature of the internal ambient load. This must match the value used to derive the calibration parameters in the first place.