Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, float min, float max, int size) |
None | __init__ (self, Histogram arg0) |
None | addHistogram (self, Histogram hist) |
None | addSample (self, float sample, int count=1) |
int | getBinId (self, float sample) |
tuple[float, float] | getBinMinMax (self, int binId) |
std_vector_unsigned_long | getBins (self) |
float | getMax (self) |
float | getMin (self) |
int | heapBytes (self) |
Generated from: MR::Histogram Simple class for calculating histogram \\ingroup MathGroup
None meshlib.mrmeshpy.Histogram.__init__ | ( | self | ) |
None meshlib.mrmeshpy.Histogram.__init__ | ( | self, | |
float | min, | ||
float | max, | ||
int | size ) |
Initialize histogram with minimum and maximum values, and number of bins
None meshlib.mrmeshpy.Histogram.__init__ | ( | self, | |
Histogram | arg0 ) |
Implicit copy constructor.
None meshlib.mrmeshpy.Histogram.addHistogram | ( | self, | |
Histogram | hist ) |
Adds bins of input hist to this
None meshlib.mrmeshpy.Histogram.addSample | ( | self, | |
float | sample, | ||
int | count = 1 ) |
Adds sample to corresponding bin
int meshlib.mrmeshpy.Histogram.getBinId | ( | self, | |
float | sample ) |
Gets id of bin that inherits sample
tuple[float, float] meshlib.mrmeshpy.Histogram.getBinMinMax | ( | self, | |
int | binId ) |
Gets minimum and maximum of diapason inherited by bin
std_vector_unsigned_long meshlib.mrmeshpy.Histogram.getBins | ( | self | ) |
Gets bins
float meshlib.mrmeshpy.Histogram.getMax | ( | self | ) |
Gets maximum value of histogram
float meshlib.mrmeshpy.Histogram.getMin | ( | self | ) |
Gets minimum value of histogram
int meshlib.mrmeshpy.Histogram.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap