skrf.network.Network.passivity

property Network.passivity: ndarray

Passivity metric for a network.

This returns a matrix whose 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 a one-port network this is

\[|S_{11}|\]

For a two-port network this is

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

in general it is

\[\sqrt( 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