test_pykat_gui.py 337 Bytes
Newer Older
Daniel Brown's avatar
Daniel Brown committed
1 2 3 4 5 6 7 8 9 10 11
import sys
sys.path.append("../")

from pykat import finesse
from pykat.detectors import *
from pykat.components import *
from pykat.commands import *
from pykat.structs import *
import numpy as np
import pylab as pl

Daniel Brown's avatar
Daniel Brown committed
12
code = """
13 14 15
#l l1 1 0 0 n1

s s1 1 n3 n4
Daniel Brown's avatar
Daniel Brown committed
16
"""
Daniel Brown's avatar
Daniel Brown committed
17

Daniel Brown's avatar
Daniel Brown committed
18
kat = finesse.kat(kat_code = code)
Daniel Brown's avatar
Daniel Brown committed
19 20 21 22

kat.openGUI()