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 :
ndarrayMatrix of (x, y, z) positions for each peak detected
eps : float
Passed to the
epsargument ofDBSCANmin_samples : int
Passed to the
min_samplesargument ofDBSCANReturns: labels :
ndarrayList of cluster labels for each peak. Labels of
-1signify noise points.