boost-histogram
boost-histogram copied to clipboard
Python bindings for the C++14 Boost::Histogram library
@henryiii , I think we should add more standards for Doc contributing (maybe to add something, e.g. contributing-doc.md or add a new title in [CONTRIBUTING.md](https://github.com/scikit-hep/boost-histogram/blob/develop/CONTRIBUTING.md)). When adding new docs, should...
The example code provided in [simple_numpy.py](https://github.com/scikit-hep/boost-histogram/blob/develop/examples/simple_numpy.py) might not meet the criteria for high coupling, as it is very similar to the code in [simple_2d.py](https://github.com/scikit-hep/boost-histogram/blob/develop/examples/simple_2d.py). I recommend you to delete this...
A simple and widely useful accumulator would be the **Collector** (name to be refined if needed). The accumulator holds a std::vector and appends sample values to the vector. Users should...
I am not 100 % sure we should really do this, but it would be handy if the view of a histogram with weight storage would allow adding views and...
Full UHI
The full UHI includes arbitrary reducers and rebinnings. This will need to be implemented before 1.0, but depends on #194 and #189; those should go into 0.6.0 so let's nominally...
We can add a custom diff printer for PyTest such that we can see what is actually different when a histogram is not the same as the other. This would...
- [ ] Vectorize `_at` - [ ] Vectorize `_at_set` - [ ] vectorize `__getitem__`, `__setitem__` (uses the above functions internally)
**Describe the bug** Dividing/multiplying/subtracting histograms with weights results in an `AttributeError`, only the addition works. (as also mention here: https://github.com/scikit-hep/boost-histogram/issues/601#issuecomment-921073303) Is this not implemented yet or is this ill-defined how...
Take for example: ```python import hist import numpy as np h = hist.Hist.new.Regular(10, 0, 1, name="x").WeightedMean() ``` I can fill with ```python h.fill(x=np.array([0.1, 0.1, 0.2]), sample=np.array([1, 2, 3]), weight=np.array([1, 2,...
Currently ufunc overloads are only defined for Weight Views. We should include Mean / WeightedMean too.