skrf.network.z2s

skrf.network.z2s(z, z0=50)[source]

convert impedance parameters [1] to scattering parameters [2]

\[s = (\sqrt{y_0} \cdot z \cdot \sqrt{y_0} - I)(\sqrt{y_0} \cdot z \cdot\sqrt{y_0} + I)^{-1}\]
Parameters:
  • z (complex array-like) – impedance parameters
  • z0 (complex array-like or number) – port impedances
Returns:

s – scattering parameters

Return type:

complex array-like

References

[1]http://en.wikipedia.org/wiki/impedance_parameters
[2]http://en.wikipedia.org/wiki/S-parameters