edges_cal.receiver_calibration_func.noise_wave_param_fit
- edges_cal.receiver_calibration_func.noise_wave_param_fit(f_norm: ndarray, gamma_rec: ndarray, gamma_open: ndarray, gamma_short: ndarray, temp_raw_open: ndarray, temp_raw_short: ndarray, temp_thermistor_open: ndarray, temp_thermistor_short: ndarray, wterms: int)[source]
Fit noise-wave polynomial parameters.
- Parameters:
f_norm (array_like) – Normalized frequencies (arbitrarily normalised, but standard assumption is that the centre is zero, and the scale is such that the range is (-1, 1))
gamma_rec (array-like) – Reflection coefficient, as function of frequency, of the receiver.
gamma_open (array-like) – Reflection coefficient, as function of frequency, of the open load.
gamma_short (array-like) – Reflection coefficient, as function of frequency, of the shorted load.
temp_raw_open (array-like) – Raw measured spectrum temperature of open load.
temp_raw_short (array-like) – Raw measured spectrum temperature of shorted load.
temp_thermistor_open (array-like) – Measured (known) temperature of open load.
temp_thermistor_short (array-like) – Measured (known) temperature of shorted load.
wterms (int) – The number of polynomial terms to use for each of the noise-wave functions.
- Returns:
Tunc, Tcos, Tsin (array_like) – The solutions to each of T_unc, T_cos and T_sin as functions of frequency.