Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/spikeinterface/sorters/internal/simplesorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class SimpleSorter(ComponentsBasedSorter):

@classmethod
def get_sorter_version(cls):
return "1.0"
return "2025.12"

@classmethod
def _run_from_folder(cls, sorter_output_folder, params, verbose):
Expand Down Expand Up @@ -208,6 +208,11 @@ def _run_from_folder(cls, sorter_output_folder, params, verbose):
from sklearn.mixture import GaussianMixture

peak_labels = GaussianMixture(**clust_params).fit_predict(features_flat)
elif clust_method == "isosplit":
from spikeinterface.sortingcomponents.clustering.isosplit_isocut import isosplit

peak_labels = isosplit(features_flat)

else:
raise ValueError(f"simple_sorter : unkown clustering method {clust_method}")

Expand Down