Histogram¶
Description¶
‘Static’ transformation. Represents the histogram.
See also HistEdges
and Rebin
transformations.
Arguments¶
size_t
— number of bins \(n\)double*
— array with bin edges of size \(n+1\)double*
— array with bin heights of size \(n\)
In Python Histogram
instance may be constructed from two numpy arrays:
from gna.constructors import Histogram
h = Histogram(edges, data)
Outputs¶
hist.hist
— static array of kind Histogram.