FRIBDAQ / rustogrammer

Histogram data from FRIB analysis pipeline.
Other
0 stars 0 forks source link

Support internal integrations #113

Closed rfoxkendo closed 1 year ago

rfoxkendo commented 1 year ago

Support integration within a slice (1d) or contour (2d) ROI. Note that for rustogrammer, the slice/contour is just an ROI and need not have parameters that are associated with the spectrum being integrated.

rfoxkendo commented 1 year ago

Note that integration means adding:

I believe that SpecTcl limits integrations to 1d spectra. There's no reason for rustogramer to not support 2d integrations as well. That could be used by displayer clients to push the actual integration computatinos to Rustogramer.

rfoxkendo commented 1 year ago

The commits above provide this functionality.