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

rebin methods #10

Open
aminnj opened this issue Apr 30, 2021 · 0 comments
Open

rebin methods #10

aminnj opened this issue Apr 30, 2021 · 0 comments

Comments

@aminnj
Copy link
Owner

aminnj commented Apr 30, 2021

h1.rebin(3) rebins by summing. But when calculating ratios, eg., (hnum/hden).rebin(3), it's not what you'd want. Either make it clear that rebin() sums (and make the user do hnum.rebin(3)/hden.rebin(3)) or support a .rebin(3, how="sum"/"mean").

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

No branches or pull requests

1 participant