Script execution

This commit is contained in:
gac-x09lb
2022-11-23 09:14:42 +01:00
parent a75609189f
commit 387835d7ed
+7 -7
View File
@@ -40,7 +40,13 @@ RANGE_Y=[CENTER_Y - STEP_SIZE_Y*STEPS_Y, CENTER_Y + STEP_SIZE_Y*STEPS_Y]
if EXPOSURES:
ENABLED_PLOTS = [ccd.dataMatrix] #Cannot plot current in 3d vscan x_index = y_index = e_index = 0
ENABLED_PLOTS = [ccd.dataMatrix] #Cannot plot current in 3d vscan
POSITIONERS = POSITIONERS + [exposure_index()]
SENSORS = SENSORS + [exposure()]
RANGE_E=[0, len(EXPOSURES)-1]
def gen():
x_index = y_index = e_index = 0
for x_step in range(-STEPS_X, STEPS_X+1):
range_y= range(STEPS_Y, -STEPS_Y-1, -1) if (ZIGZAG and(x_index%2 ==1)) else range(-STEPS_Y, STEPS_Y+1)
for y_step in range_y:
@@ -55,12 +61,6 @@ if EXPOSURES:
yield([xpos,ypos])
y_index=y_index+1
x_index=x_index+1
POSITIONERS = POSITIONERS + [exposure_index()]
SENSORS = SENSORS + [exposure()]
RANGE_E=[0, len(EXPOSURES)-1]
def gen():