skrf.calibration.calibration.LMR16
 class skrf.calibration.calibration.LMR16(measured, ideals, ideal_is_reflect=True, sign=None, switch_terms=None, *args, **kwargs)[source]
SixteenTerm LoadMatchReflect selfcalibration.
16Term self calibration for leaky VNA. Implementation is based on [1].
 Needs five standards to be measured and given in this order:
Through
Matchmatch
Reflectreflect
Reflectmatch
Matchreflect
Reflect standard needs to be very reflective and same in all measurements. Matching of through and match standards is assumed to be perfect. Loss of the through is assumed to be zero, but its length can be nonzero.
Only reflect or through standard needs to be known and the other one will be solved during the calibration. Solved Sparameters of the standards can be accessed with LMR16.solved_through and LMR16.solved_reflect.
Switch termination is already assumed to be done either by the previous calibration or during the measurements. Regular switch correction equations used with EightTerm calibration can’t be used if leakage is significant.
References
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. 

Return the solved reflect or the ideal reflect if through was solved. 

Return the solved through or the ideal through if reflect was solved. 

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
Convert solved calibration T matrices to Sparameters. 

LMR16 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. 

Run the calibration algorithm. 

Terminate a network with switch terms. 

Unterminate switch terms from a raw measurement. 

Update current dict of error coefficients. 

Write the Calibration to disk using 