diff --git a/examples/asc_test/master.py b/examples/asc_test/master.py index 91db2966fb262412058c195395912ffa13019004..02d8d72ed5c0efde0b845590653e12c982f36c57 100644 --- a/examples/asc_test/master.py +++ b/examples/asc_test/master.py @@ -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" diff --git a/examples/asc_test/master2.py b/examples/asc_test/master2.py index d7e8fcd6587a96109e3224481255792d02baf51f..6ea631c2fd6c951c2e9b6ce5c8b3ba5042ffcdaa 100644 --- a/examples/asc_test/master2.py +++ b/examples/asc_test/master2.py @@ -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"