-
Notifications
You must be signed in to change notification settings - Fork 13
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
Use rebin package to do binning #21
Comments
Why an extra package? The function is trivial to extend to multiple factors, arbitrary dimension and custom reductions. And the |
Well the function is non-trivial to extend to non-integer reductions for example. Overall we don't want to teach people to write their own code. Use a library if there is one. |
Which is not supported by
Agree in general, but if the code consists of two lines, then I prefer that over a package that has to be installed. I also find it kind of instructive to see how do do summing over blocks efficiently in Numpy. With an external package, it's all magic. |
Seems you're right
Well to 98% of the people who need a tutorial, that line is also magic. At least from https://stackoverflow.com/questions/4624112/grouping-2d-numpy-array-in-average/4624923#4624923 |
https://pypi.python.org/pypi/rebin/1.0.1
Very nice interface
The text was updated successfully, but these errors were encountered: