Skip to content

Instantly share code, notes, and snippets.

@chiahaoliu
Last active June 25, 2018 21:24
Show Gist options
  • Save chiahaoliu/ce568c0d357a92454bf5cbc12a6664af to your computer and use it in GitHub Desktop.
Save chiahaoliu/ce568c0d357a92454bf5cbc12a6664af to your computer and use it in GitHub Desktop.
PE_det test with Julien_20180625
# command at bluesky level
test_det = pe3c
test_det.cam.acquire_time.put(1)
test_det.images_per_set.put(60)
RE(bp.count(1))
# reproduce the bug in xpdAcq
glbl['frame_acq_time'] = 1
glbl['dk_window'] = 0.1
xrun({}, <index of ct_60>)
# see which device is in use
xpd_configuration['area_det']
# check device configuration at ophyd, xpdAcq level
xpd_configuration['area_det'].images_per_set.get()
xpd_configuration['area_det'].cam.acquire_time.get()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment