Script execution

This commit is contained in:
sfop
2016-06-06 16:13:08 +02:00
parent e3e7377059
commit 0acc1637e8

View File

@@ -56,7 +56,9 @@ r = lscan(I_set, [I_read, bpm_x, bpm_y], I1, I2, dI, 1.0, passes = 2, zigzag = T
#caput("SIN-CVME-TIMAST-TMA:LaserDelayControl", 1)
# take the result of the scan and do the plots
plot(r.getReadable(2), xdata=r.getReadable(1), title = "Centroid")
centroid_x = r.getReadable(1)
centroid_y = r.getReadable(2)
plot(centroid_y, xdata=centroid_x, title = "Centroid excursion")
# save the entry in the logbook
msg = str(r)