Script execution

This commit is contained in:
gac-x03da
2018-02-08 12:00:49 +01:00
parent 2e89017725
commit 1d6ce6c8bb

View File

@@ -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: