skrf.calibration.calibration.OnePort.__init__

OnePort.__init__(measured, ideals, *args, **kwargs)[source]

One Port initializer

If more than three standards are supplied then a least square algorithm is applied.

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)
  • kwargs (args,) – passed to func:Calibration.__init__

Notes

This uses numpy.linalg.lstsq() for least squares calculation