DiamondLightSource / hyperion

Unattended Data Collection using BlueSky / Ophyd
BSD 3-Clause "New" or "Revised" License
6 stars 5 forks source link

349 rotation scan now collects OAV snapshots #1443

Closed rtuck99 closed 2 months ago

rtuck99 commented 3 months ago

Addresses the remaining parts of DiamondLightSource/mx-bluesky#388

Link to dodal PR (if required): #N/A (remember to update setup.cfg with the dodal commit tag if you need it for tests to pass!)

To test:

  1. When supplied with snapshot_omegas_deg as an array of up to 4 snapshot angles, and snapshot_directory in the request parameters to a rotation scan, OAV snapshots will be acquired prior to the rotation scan at the requested angles and deposited in ispyb
  2. If snapshot_omegas_deg is empty or missing, no snapshots will be acquired and snapshot filenames will be registered in ispyb as specified by the ispyb_extras.xtal_snapshots_omega_start array