skrf.network.flip

skrf.network.flip(a)

invert the ports of a networks s-matrix, ‘flipping’ it over

Parameters :

a : numpy.ndarray

scattering parameter matrix. shape should be should be 2x2, or fx2x2

Returns :

a’ : numpy.ndarray

flipped scattering parameter matrix, ie interchange of port 0 and port 1

This Page