Script execution

This commit is contained in:
sfop
2016-06-06 16:30:56 +02:00
parent 0fe69fdded
commit d04c358592
@@ -44,11 +44,7 @@ r = lscan(I_set, [I_read, bpm_x, bpm_y], I1, I2, dI, 1.0)
#caput("SIN-CVME-TIMAST-TMA:LaserDelayControl", 1)
# take the result of the scan and do the plots
centroid_x = r.getReadable(1)
centroid_y = r.getReadable(2)
print(centroid_x)
print(centroid_y)
plot(centroid_y, xdata=centroid_x, title = "Centroid excursion")
plot(r.getReadable(2), xdata=r.getReadable(1), title = "Centroid excursion")
# save the entry in the logbook
msg = str(r)