skrf.network.reciprocity

skrf.network.reciprocity(s)[source]

Reciprocity metric for a multi-port network.

This returns the magnitude of the difference between the s-parameter matrix and its transpose.

for two port this is

\[| S - S^T |\]

where \(T\) is transpose of S

Returns:reciprocity
Return type:numpy.ndarray of shape fxnxn