edges_cal.reflection_coefficient.SMatrix¶
- class edges_cal.reflection_coefficient.SMatrix(s)[source]¶
A scattering matrix for a two-port network.
This class eases some of the computations performed with S-parameters. Most of the methods are based on https://en.wikipedia.org/wiki/Scattering_parameters.
See also https://en.wikipedia.org/wiki/Two-port_network#Interrelation_of_parameters
Methods
__init__(s)Method generated by attrs for class SMatrix.
Return a transfer matrix from the SMatrix.
cascade_with(other)Return a new TwoPortNetwork from the conjunction of two two-port networks.
from_calkit_and_vna(calkit, standards)Generate an SMatrix from a Calkit definition, and standards measurements.
from_sparams(s11, s12[, s21, s22])Create a SMatrix from S-parameters.
Create an SMatrix from a transfer matrix.
from_transmission_line(line, length[, …])Generate a new SMatrix from a given transmission line object.
Whether the S-matrix describes a lossless network.
Whether the S-matrix describes a reciprocal network.
The Voltage Standing Wave Ratio (VSWR) of the network input.
The Voltage Standing Wave Ratio (VSWR) of the network output.
Attributes
The complex linear gain of the network, i.e. S12.
The determinant of the SMatrix.
The loss, 1/|S11| in decibels.
The insertion loss of the network.
The number of frequencies in the S-matrix (the last axis).
The output loss, 1/|S22|, in decibels.
The reflection coefficient of the network input, S11.
The reflection coefficient of the network output, S22.
The reverse gain, S|12|, in decibels.
The reverse isolation, 1/|S12|, in decibels.
The S11 coefficient of the network.
The S12 coefficient of the network.
The S21 coefficient of the network.
The S22 coefficient of the network.
The abs value of the linear gain of the network, |S21|.
The scalar gain, |S21|, in decibels.