diff --git a/script/test/HoloFlyScan.py b/script/test/HoloFlyScan.py index a50a617b..cf18b3ae 100644 --- a/script/test/HoloFlyScan.py +++ b/script/test/HoloFlyScan.py @@ -37,12 +37,12 @@ scienta_time = (time2 - time1) * 1.01 print "scienta_time: ", scienta_time # time for one theta scan in seconds -THETA_NSTEPS = int(round((THETA_RANGE[1] - THETA_RANGE[0]) / THETA_STEP) + 1) +THETA_NSTEPS = int((THETA_RANGE[1] - THETA_RANGE[0]) / THETA_STEP) + 1 theta_time = scienta_time * THETA_NSTEPS print "theta_time: ", scienta_time PHI_STEP = 40.0 -PHI_NSTEPS = int(round((PHI_RANGE[1] - PHI_RANGE[0]) / PHI_STEP) + 1) +PHI_NSTEPS = int((PHI_RANGE[1] - PHI_RANGE[0]) / PHI_STEP) + 1 phi_positions = [PHI_RANGE[0] + PHI_STEP * i for i in range(PHI_NSTEPS)] try: