Questions tagged [boost-histogram]
The boost-histogram tag has no usage guidance.
6
questions
0
votes
0
answers
62
views
Reading a boost histograms in python
I need to read some pkl files containing a boost-histogram each. can u tell where i'm doing wrong.
That's the first time I use python but I think i've understood what pickling is, but now i can't see ...
1
vote
1
answer
78
views
Using `dask` to fill `boost_histograms` stored in class in parallel
I have an dask -boost_histogram question. I have a code structure as follows:
I have a class defined in some script:
class MyHist:
def __init__(....):
self.bh = None
def make_hist(.....
0
votes
0
answers
25
views
Is it possible to inherit from boost::histogram and set axes at runtime?
I am trying to replace a proprietary histogram implementation with boost::histogram but I am stuck. Is it possible to inherit from boost::histogram and set axes at runtime?
1
vote
0
answers
185
views
Writing a boost-histogram to a root file created in uproot
I am currently trying to read in a ROOT tree with uproot, book and fill histograms with boost-histogram and write these back out to a new ROOT file.
This seems to work very well for the bin contents, ...
0
votes
1
answer
103
views
Empirical probability with boost histogram
I have a boost::histogram with 100 bins over the range [-3.5,3.5]. I fill it with a data vector qp. Since I work with periodic BC all the values of q in qp are in [-3.5,3.5].
auto h = boost::...
1
vote
1
answer
125
views
Converting existing numpy histograms into boost-histograms
I have a lot of numpy (1d) histograms. Each of them was created like this:
bin_height, bin_edges = np.histogram(data)
What is the best way to turn them into boost-histograms?