skrf.calibration.calibration.LRRM¶
 class skrf.calibration.calibration.LRRM(measured, ideals, switch_terms=None, isolation=None, z0=50, match_fit='l', *args, **kwargs)[source]¶
LineReflectReflectMatch selfcalibration.
The required calibration standards are:
Line: Fully known.
Reflect: Unknown reflect, phase needs to be known within 90 degrees.
Reflect: Reflect with known absolute value of the reflection coefficient, phase needs to be known within 90 degrees. Different from the other reflect.
Match: Match with known resistance in series with unknown inductance.
Reflects are assumed to be identical on both ports. Note that the first reflect’s magnitude of the reflection coefficient can be unknown, but the second reflect’s magnitude of the reflection coefficient needs to be known. Match needs to be only measured on the first port, the second port of match measurement is not used during the calibration.
If match_fit == ‘lc’ then the second reflect is assumed to be a lossless capacitor. Measurements should then include low frequencies for accurate open capacitance determination. ‘lc_fit_c_freq’ argument can be given to specify the maximum frequency in Hz where open looks like an ideal capacitor, above this frequency open is assumed to only have known absolute value similar to ‘l’ fit. Default is infinity.
Implementation is based on papers 1 and 2. ‘lc’ match_fit based on 3.
References
 1
Zhao, W.; Liu, S.; Wang, H.; Liu, Y.; Zhang, S.; Cheng, C.; Feng, K.; Ocket, I.; Schreurs, D.; Nauwelaers, B.; Qin, H.; Yang, X. A Unified Approach for Reformulations of LRM/LRMM/LRRM Calibration Algorithms Based on the TMatrix Representation. Appl. Sci. 2017, 7, 866.
 2
F. Purroy and L. Pradell, “New theoretical analysis of the LRRM calibration technique for vector network analyzers,” in IEEE Transactions on Instrumentation and Measurement, vol. 50, no. 5, pp. 13071314, Oct. 2001.
 3
S. Liu, I. Ocket, A. Lewandowski, D. Schreurs and B. Nauwelaers, “An Improved LineReflectReflectMatch Calibration With an Enhanced Load Model,” in IEEE Microwave and Wireless Components Letters, vol. 27, no. 1, pp. 9799, Jan. 2017.
Attributes
Intermediate matrices used for embedding and deembedding. 

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 12term Model. 

Dictionary or error coefficients in form of Network objects. 

Dictionary of error coefficients for Oneport Error model. 

Dictionary of error coefficients in form of Network objects. 

Dictionary of error coefficients for 8term (Errorbox) Model. 

Dictionary of error coefficients in form of Network objects. 

Dictionary of error coefficients in form of Network objects. 

The calculated error Network or Network[s]. 



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. 

Solved capacitance of the load. 

Solved inductance of the load 

Solved match 

Solved reflect1 

Solved reflect2 

Estimate of total error for overdetermined calibration with multiple connections of each standard.This is the combined effects of both biased and unbiased errors. 

Estimate of unbiased error for overdetermined calibration with multiple connections of each standard. 

Methods
LRRM Initializer. 

Applies the calibration to the input network. 

Apply correction to all touchstone files in a given directory. 

Apply correction to list of 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 