# 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 unity.

$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. s’ – inverse scattering parameter matrix. numpy.ndarray

t2s()
s2t()