Skip to content

Commit

Permalink
yep
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelgarcia committed May 22, 2024
1 parent ef0bba9 commit 210d913
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/spikeinterface/sortingcomponents/clustering/tdc.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,19 @@ def main_function(cls, recording, peaks, params):
features_folder,
method="local_feature_clustering",
method_kwargs=dict(

clusterer="hdbscan",
clusterer_kwargs={"min_cluster_size": min_cluster_size, "allow_single_cluster": True, "cluster_selection_method": "eom"},

# clusterer="isocut5",
# clusterer_kwargs={"min_cluster_size": min_cluster_size},

feature_name="sparse_tsvd",
# feature_name="sparse_wfs",
neighbours_mask=neighbours_mask,
waveforms_sparse_mask=sparse_mask,
min_size_split=min_cluster_size,
clusterer_kwargs={"min_cluster_size": min_cluster_size},

n_pca_features=3,
scale_n_pca_by_depth=True,
),
Expand Down

0 comments on commit 210d913

Please sign in to comment.