ophyd icon indicating copy to clipboard operation
ophyd copied to clipboard

Python-level dead band

Open danielballan opened this issue 8 years ago • 4 comments

Different experiments might call for different levels of precision in tracking changes in, say, the beam current. One user might want a detailed data dump, another might want a shorter table that only records larger shifts. (And all the detailed data is being captured in the archiver anyway.)

We can add a Python-level deadband in the monitor message or in the Device.subscribe method to enable this.

via a conversation with @cmazzoli

danielballan avatar Aug 03 '16 21:08 danielballan

This is a cross opdyd/bluesky problem where we need to make sure that we can thread the configuration from the message down through ophyd.subscribe through to epics.

This probably also means we need to support at least dead-band filtering on Signal. Moving to ophyd as that is likely to be where most of the hard work is.

tacaswell avatar Dec 20 '18 22:12 tacaswell

Checking the ao record documentation, there is the 'MLST' field (Last Value Change Monitor Trigger Value) that is almost what issue describes. Changing this value changes when the PV monitors are triggered. Close, but prolly not close enough. We need a python-specific value?

prjemian avatar Dec 20 '18 23:12 prjemian

Oh, nevermind since MLST can't be modified from a CA client. At least we looked.

prjemian avatar Dec 20 '18 23:12 prjemian

There is renewed interest in this, prompted by @EliotGann.

danielballan avatar Sep 01 '20 16:09 danielballan