diff --git a/script/EnergyScan.py b/script/EnergyScan.py index b1a4cdd..6929354 100644 --- a/script/EnergyScan.py +++ b/script/EnergyScan.py @@ -13,16 +13,16 @@ if str(SET_OFFSETS) == "1": elif RUNTYPE in ["LH/LV", "LH", "LV"]: caput(OTF_MODE1,0) caput(OTF_MODE2,0) - #wait_channel(OTF_DONE, 1, type = 'i') + wait_channel(OTF_DONE, 1, type = 'i') caput(OTF_ALPHA1, 0.0) # LH in ID1 caput(OTF_ALPHA2, 90.0) # LV in ID2 - #wait_channel(OTF_DONE, 1, type = 'i') + wait_channel(OTF_DONE, 1, type = 'i') else: raise Exception("Invalid run type: " + RUNTYPE) caput(OTF_OFF1,OFFSET1) caput(OTF_OFF2,OFFSET2-40) #detune ID2 - #wait_channel(OTF_DONE, 1, type = 'i') + wait_channel(OTF_DONE, 1, type = 'i') print "Offsets are set" import sys sys.exit(0) @@ -242,7 +242,7 @@ number_of_scans = 1 if RUNTYPE in ["+/-", "+", "-"]: caput(OTF_MODE1,1) # circ + in ID1 caput(OTF_MODE2,2) # circ - in ID2 - #wait_channel(OTF_DONE, 1, type = 'i') + wait_channel(OTF_DONE, 1, type = 'i') if RUNTYPE == "+/-": number_of_scans = 2 * ROUNDS else: @@ -250,7 +250,7 @@ if RUNTYPE in ["+/-", "+", "-"]: elif RUNTYPE in ["LH/LV", "LH", "LV"]: caput(OTF_MODE1,0) caput(OTF_MODE2,0) - #wait_channel(OTF_DONE, 1, type = 'i') + wait_channel(OTF_DONE, 1, type = 'i') caput(OTF_ALPHA1, 0.0) # LH in ID1 caput(OTF_ALPHA2, 90.0) # LV in ID2 #wait_channel(OTF_DONE, 1, type = 'i') @@ -268,7 +268,7 @@ elif RUNTYPE in ["+/-", "+", "LH/LV", "LH"]: switchpol(1, RUNTYPE) # tune ID1 --> polarization: C+ or LH time.sleep(1.0) -#wait_channel(OTF_DONE, 1, type = 'i') +wait_channel(OTF_DONE, 1, type = 'i') open_vg10() time.sleep(0.5) diff --git a/script/scan_horizontal_outfocus.xml b/script/scan_horizontal_outfocus.xml index bd78207..b62c78b 100644 --- a/script/scan_horizontal_outfocus.xml +++ b/script/scan_horizontal_outfocus.xml @@ -5,13 +5,13 @@ - 10.0 - 17.0 - 0.25 + 9.0 + 20.0 + 0.1 - - + + diff --git a/script/scan_vertical.xml b/script/scan_vertical.xml index c2f08bf..ae340c8 100644 --- a/script/scan_vertical.xml +++ b/script/scan_vertical.xml @@ -5,13 +5,13 @@ - 12.0 - 23.0 + 8.0 + 17.0 0.25 - - + + @@ -23,15 +23,15 @@ 709.7 700 - - - + + + - - - + + +