Closedown

This commit is contained in:
sfop
2016-06-27 15:55:49 +02:00
parent 9e56d92e46
commit 573db41ab2
4 changed files with 139 additions and 31 deletions

View File

@@ -101,10 +101,10 @@ mag = [ "SINEG01-MCRX120","SINEG01-MCRY120",
"SINEG01-MCRX220","SINEG01-MCRY220",
"SINEG01-MQUA310",
"SINEG01-MQUA320" ]
for m in mag:
caput(m + ":I-SET", 0.0)
for m in mag:
ccr(m)
#for m in mag:
# caput(m + ":I-SET", 0.0)
#for m in mag:
# ccr(m)
# add here gun phase setting see wiki page
@@ -122,10 +122,16 @@ finally:
# take the result of the scan and do the plots
#p = plot(r.getReadable(1), xdata=r.getReadable(0), title = "Centroid excursion")[0]
add_convex_hull_plot ("Centroid excursion", r.getReadable(0),r.getReadable(1), plot_name, False, (0,cam_img._width), (0,cam_img._height))
#add_convex_hull_plot ("Centroid excursion", r.getReadable(0),r.getReadable(1), plot_name, False, (0,cam_img._width), (0,cam_img._height))
# save the entry in the logbook
msg = str(r)
msg = msg + "\nFile: " + get_context().path
msg = msg + "\n\n" + r.print()
elog("Gun solenoid current scan", msg , get_plot_snapshots())
#elog("Gun solenoid current scan", msg , get_plot_snapshots())
print "DONE"
set_return(r)
print "QUIT"