__init__(self,
data,
weights,
nbins,
range=None)
(Constructor)
|
|
-
- Parameters:
data (Numeric.array ) - a sequence of data points
weights (Numeric.array ) - a sequence of weights, same length as data
bins (int ) - the number of bins into which the data is to be sorted
range (tuple or NoneType ) - a tuple of two values, specifying the lower and the upper end
of the interval spanned by the bins. Any data point outside this
interval will be ignored. If no range is given, the smallest and
largest data values are used to define the interval.
- Overrides:
Histogram.__init__
|