bluesky / hklpy

Diffractometer computation library with ophyd pseudopositioner support
https://blueskyproject.io/hklpy
BSD 3-Clause "New" or "Revised" License
2 stars 11 forks source link

Add a SPEC-like subscriber that saves orientation automatically #247

Open prjemian opened 1 year ago

prjemian commented 1 year ago

Realizing that the existing methods for saving and restoring the UB matrix (and associated information) are unusual, make it easier for users, especially novice users.

Create a service / subscriber / callback which automatically saves the information to a local file and provides a function to restore that information. This would provide persistence between sessions. Otherwise, without such, it seems that bluesky sessions are like starting SPEC in fresh mode each time.

Make it easier.

Save the same info as is saved when used as a detector. Remember any geometries that have been used but only most recent settings for each.

prjemian commented 1 year ago

Thinking a YAML file indexed by diffractometer name (obj.name, not the dotted name) would be easy to read, review, and revise by both machine and human.

prjemian commented 8 months ago

See related new work:

prjemian commented 2 months ago

Related to: