Module: cluster¶
Overview¶
This modules provides the implementation of the BaseCluster
, an high level class to handle clusters objects.
Summary¶
BaseCluster (ID, position_array[, ...]) |
Attributes |
Module API¶
-
class
BaseCluster
(ID, position_array, weight_array=None, bkg_th=None, position_array_IDs=None, metric='euclidean', parent_ID=None)[source]¶ Bases:
object
Attributes
coords
n_points
Methods
add_contour_points
()check_is_in_cluster
(x_test, y_test)get_closest_cluster
(clusters_list)get_cluster_image_array
([border, bkg])set_cluster_bary
()-
coords
¶
-
n_points
¶
-