Skip to content

Instantly share code, notes, and snippets.

Created March 30, 2013 07:41
What would you like to do?
from pylab import *
import skrf as rf
f = rf.Frequency(0, 2e9, 201, 'hz')
z0 = [50.]
s = rf.Network(frequency=f, s=[-1]*f.npoints, z0=z0, name='short')
o = rf.Network(frequency=f, s=[1]*f.npoints, z0=z0, name='open')
l = rf.Network(frequency=f, s=[0]*f.npoints, z0=z0, name='load')
ns = rf.NetworkSet([s,o,l])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment