skrf.network.y2s

skrf.network.y2s(y, z0=50)[source]

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

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

s – scattering parameters

Return type:

complex array-like or number

References

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