skrf.calibration.calibration.TUGMultilineTRL
- class skrf.calibration.calibration.TUGMultilineTRL(line_meas, line_lengths, er_est=1 + 0j, reflect_meas=None, reflect_est=None, reflect_offset=0, ref_plane=0, *args, **kwargs)[source]
TUG Multiline TRL calibration.
An improved multiline TRL calibration procedure that generalizes the calibration process by solving a single 4x4 weighted eigenvalue problem.
The overall algorithm is based on [1], but the weighting matrix calculation is based on [2]. You can read the mathematical details online at [3].
The calibration reference plane is at the edges of the first line. By default, the reference impedance of the calibration is the characteristic impedance of the transmission lines. If the characteristic impedance is known, the reference impedance can be renormalized afterwards by running the method renormalize().
Examples
>>> line1 = rf.Network('line1.s2p') >>> line2 = rf.Network('line2.s2p') >>> line3 = rf.Network('line3.s2p') >>> short = rf.Network('short.s2p') >>> dut = rf.Network('dut.s2p')
Normal multiline TRL calibration:
>>> cal = rf.TUGMultilineTRL(line_meas=[line1,line2,line3], line_lengths=[0, 1e-3, 5e-3], er_est=4-.0j, >>> reflect_meas=short, reflect_est=-1, reflect_offset=0) >>> dut_cal = cal.apply_cal(dut)
Case of not using reflect measurements:
>>> cal = rf.TUGMultilineTRL(line_meas=[line1,line2,line3], line_lengths=[0, 1e-3, 5e-3], er_est=4-.0j) >>> dut_cal = cal.apply_cal(dut) # only S21 and S12 are correct
References
See also
Attributes
Intermediate matrices used for embedding and de-embedding. |
|
Estimate of biased error for overdetermined calibration with multiple connections of each standard. |
|
Return a NetworkSet for each caled_ntwk, grouped by their names. |
|
List of the corrected calibration standards. |
|
Dictionary or error coefficients in form of numpy arrays. |
|
Dictionary of error coefficients for 12-term Model. |
|
Dictionary or error coefficients in form of Network objects. |
|
Dictionary of error coefficients for One-port Error model. |
|
Dictionary of error coefficients in form of Network objects. |
|
Dictionary of error coefficients for 8-term (Error-box) Model. |
|
Dictionary of error coefficients in form of Network objects. |
|
Dictionary of error coefficients in form of Network objects. |
|
Relative effective permittivity of the solved line. |
|
The calculated error Network or Network[s]. |
|
|
|
Propagation constant of the solved line. |
|
Eigenvalue of the weighted eigendecomposition. |
|
Directivity normalized to the reflection tracking. |
|
Number of ideal/measurement pairs in calibration. |
|
Return any output from the |
|
Returns a NetworkSet for each residual_ntwk, grouped by their names. |
|
Dictionary of residual Networks. |
|
Estimate of total error for overdetermined calibration with multiple connections of each standard.This is the combined effects of both biased and un-biased errors. |
|
Estimate of unbiased error for overdetermined calibration with multiple connections of each standard. |
|
Methods
TUGMultilineTRL initializer. |
|
Applies the calibration to the input network. |
|
Apply correction to all touchstone files in a given directory. |
|
Apply correction to list or dict of Networks. |
|
Apply correction to a NetworkSet. |
|
Applies the error boxes to the calibrated input network. |
|
Create a calibration from its error coefficients. |
|
Create a calibration from its error coefficients. |
|
Plot corrected calibration standards. |
|
Plot biased, unbiased and total error in dB scaled. |
|
Plot residual networks. |
|
Remove and return tuple of (ideal, measured) at index. |
|
Remove a cal standard and correct it, returning correct and ideal. |
|
Renormalizes the calibration error boxes to a new reference impedance. |
|
Run the calibration algorithm. |
|
Terminate a network with switch terms. |
|
Unterminates switch terms from a raw measurement. |
|
Update current dict of error coefficients. |
|
Write the Calibration to disk using |