cluster_focus_peaks¶
-
shampoo.
cluster_focus_peaks
(xyz, eps=5, min_samples=3)[source] [edit on github]¶ Use DBSCAN to identify single particles through multiple focus planes.
Parameters: xyz :
ndarray
Matrix of (x, y, z) positions for each peak detected
eps : float
Passed to the
eps
argument ofDBSCAN
min_samples : int
Passed to the
min_samples
argument ofDBSCAN
Returns: labels :
ndarray
List of cluster labels for each peak. Labels of
-1
signify noise points.