NSLS-II / wishlist

an issue tracker for the big picture
1 stars 0 forks source link

Have EIGER choose threshold to be energy/2. as a default #30

Closed jrmlhermitte closed 2 years ago

jrmlhermitte commented 9 years ago

When we'd change the xray energy, we'd have to manually update the wavelength in the EIGER detector. This part is okay. However, when changing the energy, the efficiency is maximized at a threshold value of half the xray energy. Too high you double count, too low you're losing signal. Sometimes we double counted, sometimes we lost signal.

Ideally, it would be nice to automate this somewhere so no one can make this mistake. Perhaps have detector objects when changing parameters (with a manual)? This would probably be more robust.

tacaswell commented 9 years ago

This should probably be done in the configure of the AD object for eiger detectors. Doing this as a monitor callback seems dangerous as it could change the threshold during a scan unless we have ways of inhibiting it.

attn @dchabot @klauer