1from ids_peak_common.datatypes.geometry
import Point
10 The binning factor for the x and y directions must consist of positive integer values.
11 A binning value of 2 indicates that the values of the two lines are combined into one line.
13 @since ids_peak_icv 1.0
14 @ingroup ids_peak_icv_python_types
20 Creates a binning factor configuration.
22 @param x: x information
23 @param y: y information
25 @exception OutOfRangeException: If x or y is less than or equal to zero.
27 @since ids_peak_icv 1.0
30 raise OutOfRangeException(
"Given binning factor value is invalid. Value has to be bigger than 0.")
34 def _c_type(self) -> peak_icv_binning_factor:
35 binning_factor = peak_icv_binning_factor()
36 binning_factor.x = self.x
37 binning_factor.y = self.y
The binning factor for the x and y directions must consist of positive integer values.
None __init__(self, int x, int y)
Creates a binning factor configuration.
peak_icv_binning_factor _c_type(self)
Occurs when a provided value falls outside the allowed valid range.