skrf.network.inv

skrf.network.inv(s)[source]

Calculates ‘inverse’ s-parameter matrix, used for de-embedding

This is not literally the inverse of the s-parameter matrix. Instead, it is defined such that the inverse of the s-matrix cascaded with itself is a unity scattering transfer parameter (T) matrix.

\[inv(s) = t2s({s2t(s)}^{-1})\]

where \(x^{-1}\) is the matrix inverse. In words, this is the inverse of the scattering transfer parameters matrix transformed into a scattering parameters matrix.

Parameters:s (numpy.ndarray (shape fx2nx2n)) – scattering parameter matrix.
Returns:s’ – inverse scattering parameter matrix.
Return type:numpy.ndarray

See also

t2s()
converts scattering transfer parameters to scattering parameters
s2t()
converts scattering parameters to scattering transfer parameters