Commit fa438397 authored by Andreas Freise's avatar Andreas Freise
Browse files

fixing some syntax errors.

parent f9929e7c
......@@ -24,17 +24,20 @@ def main():
Andreas Freise 06.12.2013
--------------------------------------------------------------
"""
"""
kat = finesse.kat()
# or, for debugging we might need to see the file:
#kat = finesse.kat(tempdir=".",tempname="test")
# for debugging we might need to see the temporay file:
kat = finesse.kat(tempdir=".",tempname="test")
kat.verbose = False
kat.loadKatFile('asc_base.kat')
kat.maxtem=3
Lambda=1064.0e-9
result = {}
# defining variables as global for debugging
#global kat
#global out
#global result
print "--------------------------------------------------------"
print " 1. tunes ETM position to find resonance"
......
......@@ -100,11 +100,6 @@ def main():
print "--------------------------------------------------------"
print " 8. compute ASC signal matrix at WFS1 and WFS2"
signal = asc_signal(kat)
print "--------------------------------------------------------"
print " 9. ASC signals for large misalignments (ITM)"
asc_large(kat)
print "--------------------------------------------------------"
print " Saving results in temp. files to be read by master3.py"
......@@ -272,7 +267,7 @@ def gravity_tilt(tmpkat):
def tilt(tmpkat):
kat = copy.deepcopy(tmpkat)
def compute_tilt(tmpkat):
kat = copy.deepcopy(tmpkat)
out = kat.run(printout=0,printerr=0)
......@@ -318,6 +313,8 @@ def tilt(tmpkat):
kat.parseKatCode(code_WFS1)
kat.ITM.ybeta=1e-10
kat.ETM.ybeta=0.0
#kstr=kat.generateKatScript()
#print kstr
(a1, a2) = compute_tilt(kat)
print " ETM ybeta -0.1nm"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment