Skip to main content

Module s_parameters

Module s_parameters 

Source
Expand description

Two-port network parameters and their conversions: S, Z, Y, ABCD and T.

Scattering parameters are referred to a real impedance z0 on both ports (power waves a = (V + z0 I)/(2√z0), b = (V − z0 I)/(2√z0)). Cascades multiply ABCD (or T) matrices.

See the book entry Transmission lines, two-port networks and the Smith chart.

Functions§

abcd_to_s
ABCD parameters to S parameters.
cascade
The S parameters of two networks in cascade (port 2 of first to port 1 of second).
insertion_loss_db
Insertion loss −20 log₁₀|S₂₁| in dB.
invert
The matrix inverse (Z ↔ Y).
is_lossless
Whether SᴴS = I (lossless network) to the tolerance.
is_reciprocal
Whether S = Sᵀ (reciprocal network) to the tolerance.
multiply
The product of two 2 × 2 matrices.
s_to_abcd
S parameters to ABCD (chain) parameters.
s_to_t
S parameters to scattering transfer (T) parameters, [b₁, a₁]ᵀ = T [a₂, b₂]ᵀ, which multiply for cascades.
s_to_z
S parameters to Z parameters.
series_impedance
ABCD matrices of the elementary sections.
shunt_admittance
t_to_s
T parameters back to S parameters.
z_to_s
Z (impedance) parameters to S parameters.

Type Aliases§

Matrix2
A 2 × 2 complex matrix.