We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d4154 commit 97f3ab4Copy full SHA for 97f3ab4
1 file changed
src/spikeinterface/curation/remove_redundant.py
@@ -80,7 +80,7 @@ def remove_redundant_units(
80
81
if align and unit_peak_shifts is None:
82
assert sorting_analyzer is not None, "For align=True must give a SortingAnalyzer or explicit unit_peak_shifts"
83
- unit_peak_shifts = get_template_extremum_channel_peak_shift(sorting_analyzer)
+ unit_peak_shifts = get_template_extremum_channel_peak_shift(sorting_analyzer, peak_sign=peak_sign)
84
85
if align:
86
sorting_aligned = align_sorting(sorting, unit_peak_shifts)
0 commit comments