skrf.network.Network.passivity

property Network.passivity: ndarray

passivity metric for a multi-port network.

This returns a matrix who’s diagonals are equal to the total power received at all ports, normalized to the power at a single excitement port.

mathematically, this is a test for unitary-ness of the s-parameter matrix 1.

for two port this is

\[( |S_{11}|^2 + |S_{21}|^2 \, , \, |S_{22}|^2+|S_{12}|^2)\]

in general it is

\[S^H \cdot S\]

where \(H\) is conjugate transpose of S, and \(\cdot\) is dot product.

Returns

passivity

Return type

numpy.ndarray of shape fxnxn

References

1

http://en.wikipedia.org/wiki/Scattering_parameters#Lossless_networks