:py:mod:`gnn_tracking.postprocessing.fastrescanner`
===================================================
.. py:module:: gnn_tracking.postprocessing.fastrescanner
Module Contents
---------------
Classes
~~~~~~~
.. autoapisummary::
gnn_tracking.postprocessing.fastrescanner.DBSCANFastRescan
.. py:class:: DBSCANFastRescan(x: numpy.ndarray, max_eps: float = 1.0, *, n_jobs: int | None = None)
Class to perform DBSCAN clustering with fast rescanning.
:param x: Data to cluster
:param max_eps: Maximum epsilon to use during rescanning. Set to as low
as possible to save time.
:param n_jobs: The number of parallel jobs to run.
.. py:method:: _reset_graph(max_eps: float) -> None
Set and store the radius_neighbors graph to use for clustering.
.. py:method:: cluster(eps: float = 1.0, min_pts: int = 1)
Perform clustering on given data with DBSCAN
:param eps: Epsilon to use for clustering
:param min_pts: Minimum number of points to form a cluster