GridBasedCluster#
- class pyopenms.GridBasedCluster#
Bases:
objectbasic data structure for clustering
- __init__(arg0: tuple[float, float], arg1: pyopenms.DBoundingBox2, arg2: collections.abc.Sequence[int], arg3: int, arg4: collections.abc.Sequence[int], /) None#
- __init__(arg0: tuple[float, float], arg1: pyopenms.DBoundingBox2, arg2: collections.abc.Sequence[int], /) None
- __init__(arg: pyopenms.GridBasedCluster, /) None
Methods
__init__(arg0, arg1, arg2, arg3, arg4, /)Returns bounding box
Returns cluster centre
Returns indices of points in cluster
Returns properties B of all points
Returns property A
- getBoundingBox() pyopenms.DBoundingBox2#
Returns bounding box
- getCentre() tuple[float, float]#
Returns cluster centre
- getPoints() list[int]#
Returns indices of points in cluster
- getPropertiesB() list[int]#
Returns properties B of all points
- getPropertyA() int#
Returns property A