You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a reflectometry scientist I would like a full auto alignment plan and a detector-mapping DAE reducer so that I can align my beamline much faster. Together these two items will be an order-of-magnitude efficiency improvement for reflectometers.
This saves a large amount of time in each cycle. Try to make the components at least somewhat generic, as other reflectometers are very likely to want something similar if it all works nicely on polref.
Acceptance criteria
Figure out how POLREFs existing full-auto alignment scripts work
Figure out what support they would need from ibex_bluesky_core to achieve this using bluesky
Make the scripts into a bluesky plan, potentially using things like adaptive scans where appropriate
Sit with CK on an instrument like POLREF and test it
The text was updated successfully, but these errors were encountered:
Tom-Willemsen
changed the title
Reflectometry: autoalign
Reflectometry: autoalign (e.g. polref)
Nov 24, 2024
The second part of this ticket, after migrating auto-alignment to a bluesky plan, is to implement a DAE reducer which passes spectra to the bumps package and "reduces" to a set of fitted parameters at each scan point.
For POLREF:
At each scan point, pull 640 detector spectra from DAE (use SPECDATA pv for this - needs explicitly processing)
Use a "detector map" (map of pixel number -> relative angle) to convert to angle (CK can provide this)
Pass the resulting arrays to bumps with parameters / models that CK will provide
The fitted "peak width" from bumps is the y-axis of ths scan (this will also have an associated uncertainty)
Over the whole scanned range (e.g. of a height axis or similar), then do a meta-fit using our normal lmfit/LiveFit callbacks to find optimum of "peak width" against height.
As a reflectometry scientist I would like a full auto alignment plan and a detector-mapping DAE reducer so that I can align my beamline much faster. Together these two items will be an order-of-magnitude efficiency improvement for reflectometers.
This saves a large amount of time in each cycle. Try to make the components at least somewhat generic, as other reflectometers are very likely to want something similar if it all works nicely on polref.
Acceptance criteria
ibex_bluesky_core
to achieve this using blueskyThe text was updated successfully, but these errors were encountered: