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

Histogram of weights/ n-D histograms #22

Open
dhruvbalwada opened this issue Oct 2, 2020 · 5 comments
Open

Histogram of weights/ n-D histograms #22

dhruvbalwada opened this issue Oct 2, 2020 · 5 comments

Comments

@dhruvbalwada
Copy link

Is it possible to easily extend the functionality to include the histogram of the weights for a particular bin?
The current weights options gives a sum, but sometimes it would useful to look at the distribution of the points within a certain bin.

@dhruvbalwada
Copy link
Author

This might be equivalent to estimating a 3D (or nD) histogram. Can we do that?

@dhruvbalwada dhruvbalwada changed the title Histogram of weights Histogram of weights/ n-D histograms Oct 2, 2020
@dhruvbalwada
Copy link
Author

Should we be transitioning over to https://boost-histogram.readthedocs.io/en/latest/notebooks/BoostHistogramHandsOn.html#3:-More-dimensions instead of xhistogram (since it also claims to be faster)? Has anyone tried it out?
Or are there any advantages to sticking with xhistogram (the API of xhistogram is quite nice)?

@dougiesquire
Copy link
Contributor

Should we be transitioning over to https://boost-histogram.readthedocs.io/en/latest/notebooks/BoostHistogramHandsOn.html#3:-More-dimensions

I've only looked very briefly, but it doesn't look as though boost-histogram handles dask arrays

@dcherian
Copy link

See https://github.com/douglasdavis/dask-histogram

@dougiesquire
Copy link
Contributor

Also, just stumbled across https://github.com/Descanonge/xarray-histogram

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

3 participants