From d04c358592c53355b5ed0ceeed168843147e4770 Mon Sep 17 00:00:00 2001 From: sfop Date: Mon, 6 Jun 2016 16:30:56 +0200 Subject: [PATCH] Script execution --- script/Alignment/Gun_solenoid_alignment_dv_sim.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/script/Alignment/Gun_solenoid_alignment_dv_sim.py b/script/Alignment/Gun_solenoid_alignment_dv_sim.py index fce8c7c..782529c 100644 --- a/script/Alignment/Gun_solenoid_alignment_dv_sim.py +++ b/script/Alignment/Gun_solenoid_alignment_dv_sim.py @@ -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)