DiamondLightSource / DiamondLightSource/sm-bluesky

Implement I16 Offsets in Bluesky

Open
#243 0 comments 0 reactions 1 assignee Claimed by @DG-At-Diamond View on GitHub
Dominant language
Python
Stars
0
Forks
0
Avg merge
2d 3m
Merged PRs (30d)
8

Description

I16 has a number of values ('Offsets') that they want persisted between GDA restarts, mostly to do with beamline alignment. They have to be able to modify these easily during operation and have the new value persisted. This is currently done using python's shelve functionality, with the values stored in {gda.var}/oldStyleShelveIO. They are required for the energy calculation

I think this could be done using the functionality described here https://blueskyproject.io/ophyd-async/main/how-to/store-and-retrieve.html, writing the persistent values to yaml. It might be best to have each as a separate readable (offsets are currently scannables), I think you would want only one file for all offsets though so some sort of manager would be required to handle that.

### Tasks
- [ ] Implement a replacement for this Offset functionality
- [ ] Add all offsets currently defined to configuration in bluesky (can be done as they are needed)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.