mwavepy.calibration.calibrationAlgorithms.one_port

mwavepy.calibration.calibrationAlgorithms.one_port(measured, ideals)

Standard algorithm for a one port calibration.

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

Parameters :

measured : list of Network objects or numpy.ndarray

a list of the measured reflection coefficients. The elements of the list can either a kxnxn numpy.ndarray, representing a s-matrix, or list of 1-port Network objects.

ideals : list of Network objects or numpy.ndarray

a list of the ideal reflection coefficients. The elements of the list can either a kxnxn numpy.ndarray, representing a s-matrix, or list of 1-port Network objects.

Returns :

output : a dictionary

output information from the calibration, the keys are
  • ‘error coeffcients’: dictionary containing standard error coefficients
  • ‘residuals’: a matrix of residuals from the least squared calculation. see numpy.linalg.lstsq() for more info

See also

one_port_nls
for a non-linear least square implementation

Notes

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

Previous topic

mwavepy.calibration.calibrationAlgorithms.eight_term_2_one_port_coefs

Next topic

mwavepy.calibration.calibrationAlgorithms.one_port_nls

This Page