GridBasedCluster#
- class pyopenms.GridBasedCluster#
Bases:
object
Cython implementation of _GridBasedCluster
Original C++ documentation is available here
- __init__()#
Overload:
- __init__(self, centre: Sequence[int] | Sequence[float], bounding_box: DBoundingBox2, point_indices: List[int], property_A: int, properties_B: List[int]) None
Overload:
- __init__(self, centre: Sequence[int] | Sequence[float], bounding_box: DBoundingBox2, point_indices: List[int]) None
Overload:
- __init__(self, in_0: GridBasedCluster) None
Methods
Overload:
getBoundingBox
(self)Returns bounding box
getCentre
(self)Returns cluster centre
getPoints
(self)Returns indices of points in cluster
getPropertiesB
(self)Returns properties B of all points
getPropertyA
(self)Returns property A
- getBoundingBox(self) DBoundingBox2 #
Returns bounding box
- getCentre(self) Sequence[int] | Sequence[float] #
Returns cluster centre
- getPoints(self) List[int] #
Returns indices of points in cluster
- getPropertiesB(self) List[int] #
Returns properties B of all points
- getPropertyA(self) int #
Returns property A