edges_cal.cal_coefficients.Load
- class edges_cal.cal_coefficients.Load(*, spectrum: LoadSpectrum, reflections: LoadS11, loss_model: Callable[[ndarray], ndarray] | HotLoadCorrection | None = None, ambient_temperature: float = 298.0)[source]
Wrapper class containing all relevant information for a given load.
- Parameters:
spectrum (
LoadSpectrum
) – The spectrum for this particular load.reflections (
SwitchCorrection
) – The S11 measurements for this particular load.hot_load_correction (
HotLoadCorrection
) – If this is a hot load, provide a hot load correction.ambient (
LoadSpectrum
) – If this is a hot load, need to provide an ambient spectrum to correct it.
Methods
__init__
(*, spectrum, reflections[, ...])Method generated by attrs for class Load.
from_io
(io_obj, load_name[, f_low, f_high, ...])Define a full
Load
from a path and name.get_temp_with_loss
([freq])Calculate the temperature of the load accounting for loss.
with_calkit
(calkit)Return a new Load with updated calkit.
Attributes
The average spectrum power ratio, Q (over time).
The average uncalibrated spectrum (over time).
Frequencies of the spectrum.
The name of the load.
The loss model as a callable function of frequency.
Callable S11 model as function of frequency.
The assumed temperature of the internal load.
The assumed temperature of the internal load + noise source.
The average temperature of the thermistor (over frequency and time).