From 6ac091ce7a39704af0856fbc80744589a45856ea Mon Sep 17 00:00:00 2001 From: zm711 <92116279+zm711@users.noreply.github.com> Date: Tue, 31 Oct 2023 08:57:29 -0400 Subject: [PATCH] fix template function in naive matching --- src/spikeinterface/sortingcomponents/matching/naive.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/spikeinterface/sortingcomponents/matching/naive.py b/src/spikeinterface/sortingcomponents/matching/naive.py index 4b04462e45..9482d50f9a 100644 --- a/src/spikeinterface/sortingcomponents/matching/naive.py +++ b/src/spikeinterface/sortingcomponents/matching/naive.py @@ -1,10 +1,8 @@ """Sorting components: template matching.""" import numpy as np -from spikeinterface.core import WaveformExtractor +from spikeinterface.core import WaveformExtractor, get_template_channel_sparsity, get_template_extremum_channel from spikeinterface.core import get_noise_levels, get_channel_distances, get_chunk_with_margin, get_random_data_chunks -from spikeinterface.postprocessing import get_template_channel_sparsity, get_template_extremum_channel - from spikeinterface.sortingcomponents.peak_detection import DetectPeakLocallyExclusive spike_dtype = [