


correctPortExt Performs correction of S-parameter data from the port-extension model.
S_dut = correctPortExt(S_ext_dut,e10e01, port_num)
input:
S_ext_dut: [2,2,num_pts] uncorrected S-parameter data
e10e01: [num_pts] Transmission tracking coefficients of the error model
port_num: (1 or 2) port at which the adaptor is connected to
output:
S_dut: [2,2,num_pts] corrected S-Parameter data
e10 __________
Port o---->----o--| |--o
(port_num) e01 | DUT |
o----<----o--|__________|--o