Script execution

This commit is contained in:
sfop
2016-08-24 15:18:56 +02:00
parent 71ee716dfa
commit c0632d62ae

View File

@@ -82,6 +82,11 @@ try:
finally:
laser_off()
print "DONE"
image_stats.stop()
# take the result of the scan and generate convex hull plot
if centroid_excursion_plot:
(hx,hy)=add_convex_hull_plot ("Centroid excursion", r.getReadable(0),r.getReadable(1), plot_name)
@@ -97,6 +102,7 @@ gsa_log_msg = gsa_log_msg + "\n\n" + r.print()
if do_elog:
elog("Gun solenoid current scan", gsa_log_msg , get_plot_snapshots())
print "Return", [r, hx, hy]
set_return([r, hx, hy])