skrf.network.renormalize_s

skrf.network.renormalize_s(s, z_old, z_new)[source]

Renormalize a s-parameter matrix given old and new port impedances

In the Parameters descriptions, F,N,N = shape(s).

Notes

This re-normalization assumes pseudo-wave formulation. The function renormalize_s_pw() implements the power-wave formulation. However, the two implementation are only different for complex characteristic impedances. See the [1] and [2] for more details.

Parameters:
  • s (complex array of shape FxNxN) – s-parameter matrix
  • z_old (complex array of shape FxN, F, N or a scalar) – old (original) port impedances
  • z_new (complex array of shape FxN, F, N or a scalar) – new port impedances

Notes

The impedance renormalization. This just calls

z2s(s2z(s,z0 = z_old), z0 = z_new)

However, you can see ref [1] or [2] for some theoretical background.

See also

renormalize_s_pw()
renormalize using power wave formulation
Network.renormalize()
method of Network to renormalize s

fix_z0_shape(), ssz(), z2s()

References

[1](1, 2)
    1. Marks and D. F. Williams, “A general waveguide circuit theory,” Journal of Research of the National Institute of Standards and Technology, vol. 97, no. 5, pp. 533-561, 1992.
[2](1, 2) http://www.anritsu.com/en-gb/downloads/application-notes/application-note/dwl1334.aspx

Examples

>>> s = zeros(shape=(101,2,2))
>>> renormalize_s(s, 50,25)