skrf.calibration.calibration.convert_pnacoefs_2_skrf

skrf.calibration.calibration.convert_pnacoefs_2_skrf(coefs)[source]

Convert PNA error coefficients to skrf error coefficients.

Parameters:
  • coefs (dict) – coefficients as retrieved from PNA

  • ports (tuple) – port indices. in order (forward, reverse)

Returns:

skrf_coefs – same error coefficients but with keys matching skrf’s convention

Return type:

dict