skrf.calibration.calibration.EnhancedResponse.__init__

EnhancedResponse.__init__(measured, ideals, n_thrus=None, source_port=1, *args, **kwargs)

initializer

Use the n_thrus argument to explicitly define the number of transmissive standards. Otherwise, if n_thrus=None, then we will try and guess which are transmissive, by comparing the mean |s21| and |s12| responses (in dB) to trans_thres.

Notes

See func:Calibration.__init__ for details about automatic standards alignment (aka sloppy_input).

Parameters:
  • measured (list/dict of Network objects) – Raw measurements of the calibration standards. The order must align with the ideals parameter ( or use sloppy_input)
  • ideals (list/dict of Network objects) – Predicted ideal response of the calibration standards. The order must align with ideals list ( or use sloppy_input
  • n_thrus (int) – number of thru measurments
  • source_port ([1,2]) – The port on which the source is active. should be 1 or 2