Closed prjemian closed 10 months ago
Also, find a way to write the statistics into a stream of the run.
Could use this in a callback subscribed to the RE or just decorating a lup()
or lineup()
plan.
Better to decorate the inner plan in lup and lineup with this callback. That controls when it is used.
The BEC requires a display for it to display a LivePlot. The config of the LivePlot is used to setup the PeakStats object that returns centroid, width, et al. This is not available when running the Bluesky queueserver. Consequently, the
lup()
andlineup()
plans do not run.PySumReg can provide peak statistics. Apply it here.