skrf.calibration.calibration.convert_skrfcoefs_2_pna

skrf.calibration.calibration.convert_skrfcoefs_2_pna(coefs, ports=(1, 2))[source]

Convert skrf error coefficients to pna error coefficients

Notes

The skrf calibration terms can be found in variables
  • skrf.calibration.coefs_list_3term

  • skrf.calibration.coefs_list_12term

Parameters:
  • coefs (dict) – complex ndarrays for the cal coefficients as defined by skrf

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

Returns:

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

Return type:

dict