skrf.network.Network.is_lossless

Network.is_lossless(tol=1e-12)[source]

test for losslessness

[S] is lossless iff [S] is unitary ([S][S]* = [1])

https://en.wikipedia.org/wiki/Unitary_matrix