edges_cal.reflection_coefficient.TwoPortNetwork¶
- class edges_cal.reflection_coefficient.TwoPortNetwork(x)[source]¶
A matrix-representation of a two-port network.
This is a matrix representation of a two-port network, defined in terms of voltages and currents at ports (in contrast to the SMatrix representation which is in terms of reflected waves).
This class allows for the simple conversion between representations of two-port network matrices. The internal representation is the ABCD representation (https://en.wikipedia.org/wiki/Two-port_network#ABCD-parameters).
Methods
__init__(x)Method generated by attrs for class TwoPortNetwork.
add_in_parallel(other)Combine two TwoPortNetworks together in parallel.
add_in_series(other)Combine two TwoPortNetworks together in series.
add_in_series_parallel(other)Combine two TwoPortNetworks together in parallel.
as_smatrix(source_impedance[, load_impedance])Convert the TwoPortNetwork to a SMatrix.
cascade_with(other)Cascade two TwoPortNetworks together.
from_abcd(abcd[, inverse])Create a TwoPortNetwork from an ABCD representation.
from_hmatrix(z)Create a TwoPortNetwork from a H-matrix.
from_smatrix(s, z0)Compute the network from scattering parameters.
from_transmission_line(line, length)Get a two-port network representation of a transmission line.
from_ymatrix(z)Create a TwoPortNetwork from a Y-matrix.
from_zmatrix(z)Create a TwoPortNetwork from a Z-matrix.
Whether the network is lossless.
Whether the network is a reciprocal network.
Whether the network is symmetric.
Attributes
Return the A parameter.
Return the B parameter.
Return the C parameter.
Return the D parameter.
Alias of ymatrix.
Return the H-matrix (hybrid parameters) of the network.
Alias of hmatrix.
Alias of zmatrix.
Return the Y-matrix (admittance parameters) of the network.
Return the Z-matrix (impedance parameters) of the network.