# Get two z values where the beam is in focus at two points: the left
# and right sides of the writing area. Put these values in focus_*,
# and the distance between the two sample points in focus_range.
- focus_left = 3.5
- focus_right = 3.5
+ focus_left = 8.5
+ focus_right = 8.5
focus_range = 10
# Positioning parameters
- start_x = 95
- start_y = 70
+ start_x = 25
+ start_y = 0
pitch = 5
# Go to origin
pidevice.MOV({1: start_x, 2: start_y})
# Set exposure times in ms
- times = np.array([10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000])
+ #times = np.array([10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000])
+ times = np.array([10, 20, 50, 100, 200, 500, 1000])
for i, t in enumerate(times):
# Go to dot position
task, pidevice = setup()
try:
#lines(task, pidevice)
- #dots(task, pidevice)
- test_rec(pidevice)
+ dots(task, pidevice)
+ #test_rec(pidevice)
finally:
pitools.stopall(pidevice)
task.close()
\ No newline at end of file