Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, float min, float max, int size) |
| None | __init__ (self, ConstHistogram arg0) |
| None | addHistogram (self, ConstHistogram hist) |
| None | addSample (self, float sample, int count=1) |
| Histogram | assign (self, ConstHistogram other) |
| Public Member Functions inherited from mrmeshpy.ConstHistogram | |
| __init__ (self, *args, **kwargs) | |
| int | getBinId (self, float sample) |
| tuple[float, float] | getBinMinMax (self, int binId) |
| Const_std_vector_unsigned_long | getBins (self) |
| float | getMax (self) |
| float | getMin (self) |
| int | heapBytes (self) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
Generated from: MR::Histogram Simple class for calculating histogram
|
static |
| None mrmeshpy.Histogram.__init__ | ( | self | ) |
| None mrmeshpy.Histogram.__init__ | ( | self, | |
| float | min, | ||
| float | max, | ||
| int | size ) |
Initialize histogram with minimum and maximum values, and number of bins
| None mrmeshpy.Histogram.__init__ | ( | self, | |
| ConstHistogram | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.Histogram.addHistogram | ( | self, | |
| ConstHistogram | hist ) |
Adds bins of input hist to this
| None mrmeshpy.Histogram.addSample | ( | self, | |
| float | sample, | ||
| int | count = 1 ) |
Adds sample to corresponding bin
| Histogram mrmeshpy.Histogram.assign | ( | self, | |
| ConstHistogram | other ) |