DiamondLightSource / dodal

Ophyd devices and other utils that could be used across DLS beamlines
Apache License 2.0
1 stars 7 forks source link

Document guidance for deciding at which layer a piece of logic should go #617

Open olliesilvester opened 3 weeks ago

olliesilvester commented 3 weeks ago

As discussed with @DominicOram , it would be nice to have a flowchart-style set of rules to decide whether a piece of logic should go into EPICS, ophyd-async, or Bluesky

Something like this:

Tagging a few people who may have thoughts: @callumforrester @abbiemery @coretl

Acceptance Criteria

callumforrester commented 3 weeks ago

I like this, my only question is how strict to make it? Do we want a prescriptive flowchart, a set of approximate guidelines, or somewhere in-between?

DominicOram commented 3 weeks ago

Approximate guidelines I think is fine. We're never going to be able to police something that's very strict

coretl commented 3 weeks ago

Other random thoughts on the topic:

DominicOram commented 3 weeks ago

I think where you say ophyd-async in the above do you actually mean dodal @olliesilvester?

olliesilvester commented 3 weeks ago

Yeah, I really mean creating the devices using the ophyd-async library, rather than putting it into the repo