test_profile.py 303 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import pykat
import pylab

kat = pykat.finesse.kat()

kat.parseCommands("""
l l1 1 0 n0
m m1 0.9 0.1 0 n0 n1
s s1 1 n1 n2
m m2 0.9 0.1 0 n2 n3
attr m1 Rc -2
attr m2 Rc 2
pd circ n2
xaxis m1 phi lin 0 180 1000
yaxis log abs
16 17
maxtem 0
cav c1 m1 n1 m2 n2
18 19 20 21 22
""")

kat.timeCode = True

out, timings = kat.run()