-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ROI histograms #303
base: main
Are you sure you want to change the base?
Add ROI histograms #303
Conversation
This was omitted previously since RollingDetectorView did not support non-consecutive detector numbers. Since we use scipp.group now this limitation was removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Must say I didn't fully understand all the changes, but I didn't see anything that looked bad/wrong ;-)
content.data = sc.ones( | ||
dims=content.dims, shape=content.shape, dtype='float32', unit='counts' | ||
) | ||
data.data = sc.bins(**constituents) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the _bins_no_validate
be used here for extra performance gain?
This change is mainly about the
detector_data
service, even though I have made a small dashboard addition so it can be tested/demonstrated. This is not meant to be usable, in particular there will/should be per-view controls. The config mechanism will also need updating for that.Depends on a release of scipp/essreduce#173.
Fixes #300 (in first approximation).