mwavepy.calibration.calibration.Calibration.__init__

Calibration.__init__(measured, ideals, type=None, frequency=None, is_reciprocal=False, name=None, sloppy_input=False, **kwargs)

Calibration initializer.

Parameters :

measured : list of Network objects

Raw measurements of the calibration standards. The order must align with the ideals parameter

ideals : list of Network objects

Predicted ideal response of the calibration standards. The order must align with ideals list

Other Parameters:
 

frequency : a Frequency object

the frequency information of the calibration if None then the Calibration will take the frequency information from the first element in measured.

type : string

the calibration algorithm. If None, the class will inspect number of ports on first measured Network and choose either ‘one port’ or ‘two port’. See Notes_ section for more infor

is_reciprocal : Boolean

enables the reciprocity assumption on the calculation of the error_network, which is only relevant for one-port calibrations.

switch_terms : tuple of Network objects

The two measured switch terms in the order (forward, reverse). This is only applicable in two-port calibrations. See Roger Mark’s paper on switch terms [1] for explanation of what they are.

name: string :

the name of calibration, just for your

convenience [None].

sloppy_input : Boolean.

Allows ideals and measured lists to be ‘aligned’ based on the network names

**kwargs : key-word arguments

passed to the calibration algorithm, defined by type

Notes

All calibration algorithms are in stored in mwavepy.calibration.calibrationAlgorithms , refer to that file for documentation on the algorithms themselves. The Calibration class accesses those functions through the attribute ‘calibration_algorihtm_dict’.

References

[1]Marks, Roger B.; , “Formulations of the Basic Vector Network Analyzer Error Model including Switch-Terms,” ARFTG Conference Digest-Fall, 50th , vol.32, no., pp.115-126, Dec. 1997. URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4119948&isnumber=4119931

Examples

See the Calibration tutorial, or the examples sections for One-Port Calibration and Two-Port Calibration

Previous topic

mwavepy.calibration.calibration.Calibration.type

Next topic

mwavepy.calibration.calibration.Calibration.apply_cal

This Page