spc-group / haven

Bluesky tools for beamlines managed by the spectroscopy group
https://haven-spc.readthedocs.io/en/latest/
Other
2 stars 6 forks source link

save_motor_window development #256

Open Cathyhjj opened 1 month ago

Cathyhjj commented 1 month ago

Discuss:

Todo list

canismarko commented 3 weeks ago

is the beamline db also MongoDB?

Yes, both the motor positions and our scans get saved to the same mongo database, but in different collections.

Now that I think about it, maybe we should scrap the saved motor position collection and just do a bp.count on the motors to save their current positions.

It would mean that saving positions has to happen in a run engine, but it would open up some advantages like API access and being able to export them to a csv, etc.

Thoughts?