tomography / scanscripts

Experiment scanning scripts at APS
http://scanscripts.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1 stars 2 forks source link

Figure out why TXM.wait_pvs doesn't work in production #7

Open canismarko opened 7 years ago

canismarko commented 7 years ago

During a user's beamtime, we discovered that something like the code below collects the frames before the sample has finished moving.

with txm.wait_pvs():
    txm.move_sample(*out_position)
txm.capture_projections()