Skip to content

Commit

Permalink
Merge pull request #2145 from zm711/del-template_tools
Browse files Browse the repository at this point in the history
Remove postprocessing `template_tools`
  • Loading branch information
alejoe91 authored Oct 31, 2023
2 parents fabccac + 6ac091c commit fd84c8f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 51 deletions.
9 changes: 0 additions & 9 deletions src/spikeinterface/postprocessing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# This is kept in 0.97.0 and then will be removed
from .template_tools import (
get_template_amplitudes,
get_template_extremum_channel,
get_template_extremum_channel_peak_shift,
get_template_extremum_amplitude,
get_template_channel_sparsity,
)

from .template_metrics import (
TemplateMetricsCalculator,
compute_template_metrics,
Expand Down
39 changes: 0 additions & 39 deletions src/spikeinterface/postprocessing/template_tools.py

This file was deleted.

4 changes: 1 addition & 3 deletions src/spikeinterface/sortingcomponents/matching/naive.py
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down

0 comments on commit fd84c8f

Please sign in to comment.