Skip to content
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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Add ROI histograms #303

wants to merge 10 commits into from

Conversation

SimonHeybrock
Copy link
Member

@SimonHeybrock SimonHeybrock commented Jan 31, 2025

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.

image

Fixes #300 (in first approximation).

Copy link
Member

@nvaytet nvaytet left a 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)
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Selected
Development

Successfully merging this pull request may close these issues.

ROI selection service
2 participants