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

Create equal interface to histogramdd #18

Open
mhieronymus opened this issue Jan 16, 2017 · 5 comments
Open

Create equal interface to histogramdd #18

mhieronymus opened this issue Jan 16, 2017 · 5 comments

Comments

@mhieronymus
Copy link
Owner

Just use edges in get_hist() with following possibilities:

  • int: Total number of bins in all dimensions
  • [int, int, ...]: Number of bins in each dimension
  • [[float, float],[float, float]]: The edges in each dimension

Use range as lower and upper maximum in each dimension.

Use normed: If False, returns the number of samples in each bin. If True, returns the bin density bin_count / sample_count / bin_volume.

Perhaps include weights sometime.

@mhieronymus
Copy link
Owner Author

edges has been renamed to bins.
bins can be int or list of lists or list of arrays. Still missing the other arguments.

@mhieronymus
Copy link
Owner Author

The interface is there but not everything can be used right now. normed, weights and different number of bins for each dimensions are not supported yet.

@mhieronymus
Copy link
Owner Author

Different number of bins for each dimensions works unless you define the edges of them before start. Shouldn't be hard to fix.

@mhieronymus
Copy link
Owner Author

mhieronymus commented Jan 29, 2017

@mhieronymus
Copy link
Owner Author

weights works. normed is still not supported.

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