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