A normalized template matching method for improving spike detection in extracellular voltage recordings
- PMID: 31427615
- PMCID: PMC6700190
- DOI: 10.1038/s41598-019-48456-y
A normalized template matching method for improving spike detection in extracellular voltage recordings
Erratum in
-
Author Correction: A normalized template matching method for improving spike detection in extracellular voltage recordings.Sci Rep. 2019 Nov 19;9(1):17413. doi: 10.1038/s41598-019-53689-y. Sci Rep. 2019. PMID: 31745244 Free PMC article.
Abstract
Spike sorting is the process of detecting and clustering action potential waveforms of putative single neurons from extracellular voltage recordings. Typically, spike detection uses a fixed voltage threshold and shadow period, but this approach often misses spikes during high firing rate epochs or noisy conditions. We developed a simple, data-driven spike detection method using a scaled form of template matching, based on the sliding cosine similarity between the extracellular voltage signal and mean spike waveforms of candidate single units. Performance was tested in whisker somatosensory cortex (S1) of anesthetized mice in vivo. The method consistently detected whisker-evoked spikes that were missed by the standard fixed threshold. Detection was improved most for spikes evoked by strong stimuli (40-70% increase), improved less for weaker stimuli, and unchanged for spontaneous spiking. This represents improved detection during spatiotemporally dense spiking, and yielded sharper sensory tuning estimates. We also benchmarked performance using computationally generated voltage data. Template matching detected ~85-90% of spikes compared to ~70% for the standard fixed threshold method, and was more tolerant to high firing rates and simulated recording noise. Thus, a simple template matching approach substantially improves detection of single-unit spiking for cortical physiology.
Conflict of interest statement
The authors declare no competing interests.
Figures
Similar articles
-
High-velocity stimulation evokes "dense" population response in layer 2/3 vibrissal cortex.J Neurophysiol. 2017 Mar 1;117(3):1218-1228. doi: 10.1152/jn.00815.2016. Epub 2016 Dec 21. J Neurophysiol. 2017. PMID: 28003414 Free PMC article.
-
Intrinsic firing patterns and whisker-evoked synaptic responses of neurons in the rat barrel cortex.J Neurophysiol. 1999 Mar;81(3):1171-83. doi: 10.1152/jn.1999.81.3.1171. J Neurophysiol. 1999. PMID: 10085344
-
Millisecond precision temporal encoding of stimulus features during cortically generated gamma oscillations in the rat somatosensory cortex.J Physiol. 2018 Feb 1;596(3):515-534. doi: 10.1113/JP275245. Epub 2018 Jan 9. J Physiol. 2018. PMID: 29265375 Free PMC article.
-
Neural coding: A single neuron's perspective.Neurosci Biobehav Rev. 2018 Nov;94:238-247. doi: 10.1016/j.neubiorev.2018.09.007. Epub 2018 Sep 15. Neurosci Biobehav Rev. 2018. PMID: 30227142 Review.
-
Texture coding in the whisker system.Curr Opin Neurobiol. 2010 Jun;20(3):313-8. doi: 10.1016/j.conb.2010.02.014. Epub 2010 Mar 17. Curr Opin Neurobiol. 2010. PMID: 20299205 Review.
Cited by
-
Non-invasive ventral cervical magnetoneurography as a proxy of in vivo lipopolysaccharide-induced inflammation.Commun Biol. 2024 Jul 29;7(1):893. doi: 10.1038/s42003-024-06435-8. Commun Biol. 2024. PMID: 39075164 Free PMC article.
-
Intertwined-pulse modulation for compressive data telemetry.Sci Rep. 2022 Jul 13;12(1):11966. doi: 10.1038/s41598-022-16278-0. Sci Rep. 2022. PMID: 35831412 Free PMC article.
-
Framework for automated sorting of neural spikes from Neuralynx-acquired tetrode recordings in freely-moving mice.Bioelectron Med. 2021 Nov 23;7(1):17. doi: 10.1186/s42234-021-00079-3. Bioelectron Med. 2021. PMID: 34809706 Free PMC article.
-
Steering Toward Normative Wide-Dynamic-Range Neuron Activity in Nerve-Injured Rats With Closed-Loop Peripheral Nerve Stimulation.Neuromodulation. 2023 Apr;26(3):552-562. doi: 10.1016/j.neurom.2022.09.011. Epub 2022 Nov 17. Neuromodulation. 2023. PMID: 36402658 Free PMC article.
-
Thermal neuromodulation using pulsed and continuous infrared illumination in a penicillin-induced acute epilepsy model.Sci Rep. 2023 Sep 2;13(1):14460. doi: 10.1038/s41598-023-41552-0. Sci Rep. 2023. PMID: 37660232 Free PMC article.
References
-
- Lewicki, M. S. A review of methods for spike sorting: The detection and classification of neural action potentials. Netw. Comput. Neural Syst. 9 (1998). - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Full Text Sources
