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

Create a plan that adaptive performs xafs scans #261

Open canismarko opened 1 month ago

canismarko commented 1 month ago

Instead of specifying the number of scan up front, this plan will evaluate each scan and continue until some pre-determined quality metric is reached.

@yannachen will design the quality metric @canismarko will implement the plan

canismarko commented 1 month ago

The quality metric should accept 2 ndarrays: xdata and ydata, where xdata is E and ydata is µ(E).