A normalized template matching method for improving spike detection in extracellular voltage recordings
Abstract
Spike sorting is the process of detecting and clustering action potential waveforms from extracellular voltage recordings to identify spikes of putative single neurons. Typically, spike detection is done using a fixed voltage threshold and shadow period, but this approach can lead to missed spikes during high firing rate epochs or noisy conditions. We developed a novel spike detection method utilizing a computationally simple form of template matching that efficiently detects spikes from candidate single units and is tolerant of high firing rates and electrical noise without a whitening filter. Template matching was based on a sliding cosine similarity between mean spike waveforms of candidate single units and the extracellular voltage signal. Performance was tested in whisker somatosensory cortex (S1) of anesthetized mice in vivo. The method consistently detected whisker-evoked spikes that were missed by a standard fixed voltage threshold. Detection was most improved for spikes evoked by strong stimuli (40-70% increase), less improved for weaker stimuli, and unchanged for spontaneous spiking. This reflected the failure of standard detection during spatiotemporally dense spiking. Template-based detection revealed higher signal-to-noise ratio for sensory responses and sharper sensory tuning. Thus, this template matching method (and other model-based spike detection methods) critically improve the quantification of single-unit spiking activity.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 41
- FWCI
- 2.63
- Field percentile
- top 10%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Fast and accurate spike sorting in vitro and in vivo for up to thousands of electrodes
Pierre Yger, Giulia L. B. Spampinato, … Olivier Marre·bioRxiv·Aug 4, 2016
- How do spike collisions affect spike sortingperformance?
Samuel Garcia, Alessio Paolo Buccino, Pierre Yger·eNeuroPeer-reviewed·Sep 1, 2022
- Selecting an effective amplitude threshold for neural spike detection
z. zhang, T. Constandinou·bioRxiv·Jan 25, 2022
- Automated detection of extracellular action potentials from single neurons
Zhuowei Cheng, Elmer Guzman, … Kenneth R. Tovar·bioRxiv·Jun 6, 2022
- Supervised Spike Sorting Feasibility of Noisy Single-Electrode Extracellular Recordings: Systematic Study of Human C-Nociceptors recorded via Microneurography
Alina Troglio, Peter Konradi, … Barbara Namer·PLoS ONEPeer-reviewed·Sep 26, 2025
- WaveLimit: An optimal spike sorting inclusion boundary
Xavier Scherschligt, Wei-Hsien Lee, … Adam G. Rouse·bioRxiv·Jul 1, 2025