e15190.utilities.fast_histogram.histo1d¶
- e15190.utilities.fast_histogram.histo1d(x, range, bins, weights=None)¶
A wrapper function for
fast_histogram.histogram1d()- Parameters
x (1D array-like) – Input data.
range (2-tuple or 2-list) – The lower and upper range of the bins.
bins (int) – The number of bins.
weights (array-like or None, default None) – Weights for each value in x.
- Returns
bin_contents – The bin contents.
- Return type
1D array of shape (bins, )