-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: allow rebinning by passing edges or a new axis #977
Conversation
andrzejnovak
commented
Jan 31, 2025
•
edited
Loading
edited
- feat: allow rebinning by passing edges (or directly a hist.axis)
- fix: preserve flow when rebinning
cf9e34e
to
bac117a
Compare
Hi @henryiii @Saransh-cpp . I've added the requested rebin by passing axis as well now. I also noticed the existing implementation was skipping flow bins so I've added that back in (keeps total sumw/sumw2 same). Should be good to review. While testing, there's one more thing I noticed, but not sure if easily fixable. The repr changes between the original and the transformed hist. Something in the metadata copying is not 1-to-1. |
da3578b
to
06278e9
Compare
Thanks! |