pyinterp.core.Binning1DFloat64¶
- class pyinterp.core.Binning1DFloat64(self, x: pyinterp.core.Axis)¶
Bases:
Binning2DFloat64
Group a number of more or less continuous values into a smaller number of “bins” located on a vector.
- Parameters:
x – Definition of the bin centers for the X Axis.
range – Range of the binning. If not provided, range is simply
(x.min_value(), x.max_value())
.
Attributes
Gets the WGS system handled by this instance.
Gets the bin centers for the X Axis of the grid.
Gets the bin centers for the Y Axis of the grid.
Public Methods
push
(self, x, z[, weights])Push new samples into the defined bins.
range
(self)Gets the range of the binning.
Protected Methods
Special Methods
__getstate__
(self)__setstate__
(self, arg0)Inherited Methods
clear
(self)Reset the statistics.
count
(self)Compute the count of points within each bin.
kurtosis
(self)Compute the kurtosis of values for points within each bin.
max
(self)Compute the maximum of values for points within each bin.
mean
(self)Compute the mean of values for points within each bin.
min
(self)Compute the minimum of values for points within each bin.
skewness
(self)Compute the skewness of values for points within each bin.
sum
(self)Compute the sum of values for points within each bin.
sum_of_weights
(self)Compute the sum of weights for points within each bin.
variance
(self[, ddof])Compute the variance of values for points within each bin.