GridBasedCluster#

class pyopenms.GridBasedCluster#

Bases: object

basic 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, /)

getBoundingBox()

Returns bounding box

getCentre()

Returns cluster centre

getPoints()

Returns indices of points in cluster

getPropertiesB()

Returns properties B of all points

getPropertyA()

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