Skip to content

Commit bd9f85b

Browse files
committed
clean
1 parent a28ea0e commit bd9f85b

1 file changed

Lines changed: 5 additions & 12 deletions

File tree

src/spikeinterface/benchmark/benchmark_sorter_without_gt.py

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def compute_result(self, residulal_peak_threshold=6, **job_kwargs):
6262
("sorting", "sorting"),
6363
]
6464
_result_key_saved = [
65+
# note that this multi_comp is the same accros benchmark (cases)
6566
("multi_comp", "pickle"),
6667
("sorter_analyzer", "sorting_analyzer"),
6768
("peaks_from_residual", "npy"),
@@ -72,7 +73,9 @@ def compute_result(self, residulal_peak_threshold=6, **job_kwargs):
7273

7374
class SorterStudyWithoutGroundTruth(BenchmarkStudy):
7475
"""
75-
This class is an alternative to SorterStudy when the dataset do not have groundtruth
76+
This class is an alternative to SorterStudy when the dataset do not have groundtruth.
77+
78+
This is mainly base on the residual analysis.
7679
"""
7780

7881
benchmark_class = SorterBenchmarkWithoutGroundTruth
@@ -164,6 +167,7 @@ def plot_residual_peak_amplitudes(self, figsize=None):
164167
ax.plot(bins[:-1], count, color=colors[key], label=self.cases[key]["label"])
165168

166169
ax.legend()
170+
167171
# def plot_quality_metrics_comparison_on_agreement(self, qm_name='rp_contamination', figsize=None):
168172
# import matplotlib.pyplot as plt
169173

@@ -213,14 +217,3 @@ def plot_residual_peak_amplitudes(self, figsize=None):
213217
# ax.set_yticklabels([])
214218

215219

216-
# def plot_quality_metrics_comparison_on_non_agreement(self, qm_name='rp_contamination', figsize=None):
217-
# import matplotlib.pyplot as plt
218-
219-
# groups = self._get_comparison_groups()
220-
221-
# for data_key, group in groups.items():
222-
# n = len(group)
223-
# fig, ax = plt.subplots(figsize=figsize)
224-
# for key in group:
225-
# pass
226-

0 commit comments

Comments
 (0)