Open Tom-Willemsen opened 3 weeks ago
We might need ability to dynamically guess initial fit parameters based on data collected so far. See existing scans library for how it's done there.
Although this isn't done by default in bluesky, it should generally be a reasonably simple addition in a thin subclass/wrapper of LiveFit
.
As a user, I would like to be able to apply fits to scans.
This depends on https://github.com/ISISComputingGroup/ibex_bluesky_core/issues/8 , which should be merged before this is started.
This is relatively standard bluesky functionality that needs documenting/exposing in a nice way.
This should also include plotting the fit onto the same axes that are used by
LivePlot
, i.e. you should be able to get a result that looks something like this (obviously this is already possible using standard bluesky functionality - this is mostly a documentation exercise):Acceptance criteria
ax + b
, others asmx + c
or(c1)x + c0
. In order to avoid having overlapping models on different beamlines it would be best to get the science groups to all agree with a single set of definitions. Maybe we can re-use any existing conventions from mantid?bluesky
already has support for this via thePeakStats
callbackRunEngine
by defaultplan_result
or similar mechanisms) after the scan has completedDiscussed in planning 05/09/24
37:15