calibration
Calibration ¶
Calibration(networks, notes=None)
A class containing data for a scalar substitution calibration.
This kind of calibration is performed when you have an antenna with known performance. By measuring the antenna with your experiment setup, you can determine the difference between the expected performance and what you measure influenced by path loss, cable loss, etc.
Additionally, notes can be stored with the calibration which can describe important contextual information about the setup as it existed when this calibration was created.
When saved, this class is stored as a .mdif file, a text-based file format.
Comments are stored using a specific delimiter ('@') to allow them to be
differentiated from other comments in the file. To make it easier to
differentiate calibrations from other data files, it is suggested to use the
file extension .pycal
Parameters:
-
networks
(
list[skrf.Network] | skrf.NetworkSet
) –The networks containing the calibration data
-
notes
(
list[str] | None
) –A list of strings containing notes. Each element is another line.
networks
property
¶
networks: skrf.NetworkSet
The underlying networks that comprise this calibration
polarizations
property
¶
polarizations: list[str]
The names of the polarizations in this calibration.
get_polarization ¶
get_polarization(polarization)
load
classmethod
¶
load(path)
Loads a calibration from a file.
Parameters:
Returns:
-
Calibration
–A new calibration containing the data from the file