spc-group / haven

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

save_motor_window development #256

Open Cathyhjj opened 3 months ago

Cathyhjj commented 3 months ago

Discuss:

Todo list

canismarko commented 3 months 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?

Cathyhjj commented 2 months ago

Status

Cathyhjj commented 2 months ago

@canismarko Maybe: add name contains filter in get_motor_position

Cathyhjj commented 1 month ago

bugs:

Cathyhjj commented 1 month ago

2024-10-15

Cathyhjj commented 1 month ago