From a98721cd26ea3ef797b9245d4e659164bc9e8dff Mon Sep 17 00:00:00 2001 From: gac-x03da Date: Thu, 8 Feb 2018 12:01:24 +0100 Subject: [PATCH] Script execution --- script/test/HoloFlyScan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/test/HoloFlyScan.py b/script/test/HoloFlyScan.py index cf18b3ae..2584baef 100644 --- a/script/test/HoloFlyScan.py +++ b/script/test/HoloFlyScan.py @@ -39,7 +39,7 @@ print "scienta_time: ", scienta_time # time for one theta scan in seconds THETA_NSTEPS = int((THETA_RANGE[1] - THETA_RANGE[0]) / THETA_STEP) + 1 theta_time = scienta_time * THETA_NSTEPS -print "theta_time: ", scienta_time +print "theta_time: ", theta_time PHI_STEP = 40.0 PHI_NSTEPS = int((PHI_RANGE[1] - PHI_RANGE[0]) / PHI_STEP) + 1 @@ -49,7 +49,7 @@ try: for phi in phi_positions: ManipulatorPhi.write(phi) ManipulatorPhi.waitValueInRange(phi, 1.0, 100) - cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], STEPS, time=TIME, before_read=before_readout, after_read = after_readout) + cscan(ManipulatorTheta, SENSORS, THETA_RANGE[0], THETA_RANGE[1], STEPS, time=theta_time, before_read=before_readout, after_read = after_readout) if ZIGZAG: THETA_RANGE = (THETA_RANGE[1], THETA_RANGE[0])