Skip to content
Snippets Groups Projects
Commit fa438397 authored by Andreas Freise's avatar Andreas Freise
Browse files

fixing some syntax errors.

parent f9929e7c
No related branches found
No related tags found
No related merge requests found
......@@ -26,16 +26,19 @@ def main():
--------------------------------------------------------------
"""
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"
kat.ETM.phi=resonance(kat)
......
......@@ -101,11 +101,6 @@ def main():
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"
tmpkatfile = "asc_base3.kat"
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment