APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

drop images at rotation speed other than 1 deg/s, #37

Closed prjemian closed 6 years ago

prjemian commented 6 years ago

Relates to #35

Want to optimize rotation speed but discover that we only get 750 images when speed is 2 - 18 degrees second (highest speed that we expect to use).

How to get full number of frames when scanning at different rotational axis speeds?

prjemian commented 6 years ago
prjemian commented 6 years ago

related to #36?

prjemian commented 6 years ago
prjemian commented 6 years ago
prjemian commented 6 years ago

Even without Bluesky, just operating from GUI screens, 1.2 deg/s gets only 906 of the expected 1500 images

Check the detector setup in bluesky code and compare with non-bluesky operations code

prjemian commented 6 years ago

@decarlof post the file here

decarlof commented 6 years ago

PG_camera.zip

prjemian commented 6 years ago

Nothing obviously different in these files. PG is in Overlapped mode. The file tomo_scan_lib.py calls SoftwareTrigger directly several times. No additional config details to be learned.

prjemian commented 6 years ago

Running the camera from the GUI, at 0.005 s acquire_time (and 0.008 s acquire period), with internal trigger and 1000 multiple exposures and HDF5 save enabled, the maximum frame rate was 128 fps.

When running the fly scan from the GUI (no bluesky in use), the maximum frame rate was 10 fps. When adjusting the rotation speed faster, the frame rate drops.

We suspect that the camera is not getting the triggers from the motor controller. Something is wrong:

Will use camera at 1 deg/s for now and further diagnose/debug this during the shutdown.

prjemian commented 6 years ago

use acquire_time < 0.1 to get more than 10 fps