edges.cal.sparams.devices.hot_load_cable¶
Functions for determining S-parameters of the hot-load calibration cable.
This can be used to compute the loss through the cable.
- edges.cal.sparams.devices.hot_load_cable.get_hot_load_semi_rigid_from_filespec(filespec: HotLoadSemiRigidCable, calkit: Calkit | None = None, calkit_overrides: dict | None = None) SParams[source]¶
Get the hot load semi-rigid cable S-params from a file spec.
- edges.cal.sparams.devices.hot_load_cable.hot_load_cable_model_params(**kwargs) S11ModelParams[source]¶
Get default model parameters for the hot load cable S11 model.
- edges.cal.sparams.devices.hot_load_cable.read_semi_rigid_cable_sparams_file(path: str | Path = ':semi_rigid_s_parameters_WITH_HEADER.txt', f_low: Quantity, PhysicalType('frequency')]=<Quantity 0. MHz>, f_high: Quantity, PhysicalType('frequency')]=<Quantity inf MHz>)[source]¶
Read a semi-rigid cable S-parameters file.
This file is simply a whitespace-separated text file with frequency in MHz in the first column, and the S-parameters in the subsequent columns as real and imaginary parts. It can have either 6 or 7 columns (the latter includes a header row).
- Parameters:
path – Path to the S-parameters file.
f_low, f_high – The min/max frequencies to use in the modelling.