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) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Histogram | operator (*args, **kwargs) |
| Histogram | operator (*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, | |
| Histogram | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.Histogram.addHistogram | ( | self, | |
| Histogram | hist ) |
Adds bins of input hist to this
| None mrmeshpy.Histogram.addSample | ( | self, | |
| float | sample, | ||
| int | count = 1 ) |
Adds sample to corresponding bin
| int mrmeshpy.Histogram.getBinId | ( | self, | |
| float | sample ) |
Gets id of bin that inherits sample
| tuple[float, float] mrmeshpy.Histogram.getBinMinMax | ( | self, | |
| int | binId ) |
Gets minimum and maximum of diapason inherited by bin
| std_vector_unsigned_long mrmeshpy.Histogram.getBins | ( | self | ) |
Gets bins
| float mrmeshpy.Histogram.getMax | ( | self | ) |
Gets maximum value of histogram
| float mrmeshpy.Histogram.getMin | ( | self | ) |
Gets minimum value of histogram
| int mrmeshpy.Histogram.heapBytes | ( | self | ) |
returns the amount of memory this object occupies on heap
|
static |
|
static |