edges.cal.sparams.devices.input_sources

Functions for calibrating input source reflection coefficients.

edges.cal.sparams.devices.input_sources.calibrate_gamma_src(gamma_src: ReflectionCoefficient, internal_osl: CalkitReadings, internal_switch: SParams | None = None, internal_calkit: Calkit | None = None) ReflectionCoefficient[source]

Calibrate the reflection coefficient of a calibration source input.

This moves the reference plane of the reflection coefficient measurement from the VNA to the input of the calibration source, de-embedding any internal switches and cables.

Parameters:
  • gamma_src – The reflection coefficient measured at the VNA reference plane.

  • internal_osl – The internal OSL measurements of the calibration source.

  • internal_switch – The S-parameters of any internal switch to de-embed. If None, no switch is de-embedded.

  • internal_calkit – The calkit model for the internal OSL measurements. If None, ideal standards are assumed.

Returns:

gamma_calibrated – The calibrated reflection coefficient at the input of the calibration source.

edges.cal.sparams.devices.input_sources.get_gamma_src_from_filespec(caldef: CalObsDefEDGES2 | CalObsDefEDGES3 | LoadS11 | Sequence[LoadS11], source: str | None = None, **kwargs) ReflectionCoefficient[source]

Get the calibrated receiver reflection coeff from a calibration definition.

edges.cal.sparams.devices.input_sources.input_source_model_params(name: str, find_model_delay: bool = True, complex_model_type=<class 'edges.modeling.composite.ComplexRealImagModel'>, **kwargs) S11ModelParams[source]

Return the default input source S11 model parameters.