ISISComputingGroup / ibex_bluesky_core

Core bluesky plan stubs & devices for use at ISIS. Not instrument/technique specific.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Callbacks: fitting #19

Open Tom-Willemsen opened 3 weeks ago

Tom-Willemsen commented 3 weeks ago

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):

image


Acceptance criteria

Discussed in planning 05/09/24

37:15

Tom-Willemsen commented 1 week 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.