GridBasedCluster

class pyopenms.GridBasedCluster

Bases: object

Cython implementation of _GridBasedCluster

Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1GridBasedCluster.html

__init__()
  • Cython signature: void GridBasedCluster(DPosition2 centre, DBoundingBox2 bounding_box, libcpp_vector[int] point_indices, int property_A, libcpp_vector[int] properties_B)

  • Cython signature: void GridBasedCluster(DPosition2 centre, DBoundingBox2 bounding_box, libcpp_vector[int] point_indices)

  • Cython signature: void GridBasedCluster(GridBasedCluster &)

Methods

__init__

  • Cython signature: void GridBasedCluster(DPosition2 centre, DBoundingBox2 bounding_box, libcpp_vector[int] point_indices, int property_A, libcpp_vector[int] properties_B)

getBoundingBox

Cython signature: DBoundingBox2 getBoundingBox() Returns bounding box

getCentre

Cython signature: DPosition2 getCentre() Returns cluster centre

getPoints

Cython signature: libcpp_vector[int] getPoints() Returns indices of points in cluster

getPropertiesB

Cython signature: libcpp_vector[int] getPropertiesB() Returns properties B of all points

getPropertyA

Cython signature: int getPropertyA() Returns property A

getBoundingBox()

Cython signature: DBoundingBox2 getBoundingBox() Returns bounding box

getCentre()

Cython signature: DPosition2 getCentre() Returns cluster centre

getPoints()

Cython signature: libcpp_vector[int] getPoints() Returns indices of points in cluster

getPropertiesB()

Cython signature: libcpp_vector[int] getPropertiesB() Returns properties B of all points

getPropertyA()

Cython signature: int getPropertyA() Returns property A