diff --git a/script/Electric_field_loop.py b/script/Electric_field_loop.py index 03db89b..9fd1586 100644 --- a/script/Electric_field_loop.py +++ b/script/Electric_field_loop.py @@ -13,7 +13,7 @@ caput ("X11PHS-E:OPT","PGM+ID2") #set ID2 to C+ -caput(OTF_MODE2,1) +caput(OTF_MODE2,2) caput(OTF_OFF2,OFFSETp) E1 = 778 # Edge @@ -36,7 +36,7 @@ forward=frange(-14,14,1); os.chdir("/sls/X11MA/data/X11MA/beamtime_december/") #forward loop - +open_vg13() file_prefix = time.strftime("%y%m%d") ts=time.time(); time_prefix = datetime.datetime.fromtimestamp(ts).strftime('%H%M%S') @@ -168,6 +168,6 @@ filename.close(); set_preference(Preference.ENABLED_PLOTS, ['energy', 'tey_norm']) set_preference(Preference.PLOT_TYPES, {'tey_norm':1}) - +print "Data saved in data"+file_prefix+time_prefix+ \ No newline at end of file