Abstract
Thresholding is an often-used method of spike detection for implantable neural signal processors due to its computational simplicity. A means for automatically selecting the threshold is desirable, especially for high channel count data acquisition systems. Estimating the noise level and setting the threshold to a multiple of this level is a computationally simple means of automatically selecting a threshold. We present an analysis of this method as it is commonly applied to neural waveforms. Four different operators were used to estimate the noise level in neural waveforms and set thresholds for spike detection. An optimal multiplier was identified for each noise measure using a metric appropriate for a brain–machine interface application. The commonly used root-mean-square operator was found to be least advantageous for setting the threshold. Investigators using this form of automatic threshold selection or developing new unsupervised methods can benefit from the optimization framework presented here.
Similar content being viewed by others
References
Aksenova TI, Chibirova OK, Dryga OA, Tetko IV, Benabid AL, Villa AEP (2003) An unsupervised automatic method for sorting neuronal spike waveforms in awake and freely moving animals. Methods 30(2):178–187
Bankman IN, Johnson KO, Schneider W (1993) Optimal detection, classification, and superposition resolution in neural waveform recordings. IEEE Trans Biomed Eng 40(8):836–841
Bar-Hillel A, Spiro A, Stark E (2006) Spike sorting: Bayesian clustering of non-stationary data. J Neurosci Methods 157(2):303–316
Benitez R, Nenadic Z (2008) Robust unsupervised detection of action potentials with probabilistic models. IEEE Trans Biomed Eng 55(4):1344–1354
Borghi T, Gusmeroli R, Spinelli AS, Baranauskas G (2007) A simple method for efficient spike detection in multiunit recordings. J Neurosci Methods 163(1):176–180
Bossetti CA, Carmena JM, Nicolelis MAL, Wolf PD (2004) Transmission latencies in a telemetry-linked brain–machine interface. IEEE Trans Biomed Eng 51(6):919–924
Brychta RJ, Tuntrakool S, Appalsamy M, Keller NR, Robertson D, Shiavi RG, Diedrich A (2007) Wavelet methods for spike detection in mouse renal sympathetic nerve activity. IEEE Trans Biomed Eng 54(1):82–93
Burrows BL, Talbot RF (1985) The mean deviation. Math Gazette 69(448):87–91
Chandra R, Optican LM (1997) Detection, classification, and superposition resolution of action potentials in multiunit single-channel recordings by an on-line real-time neural network. IEEE Trans Biomed Eng 44(5):403–412
Choi JH, Jung HK, Kim T (2006) A new action potential detector using the MTEO and its effects on spike sorting systems at low signal-to-noise ratios. IEEE Trans Biomed Eng 53(4):738–746
Farshchi S, Pesterev A, Guenterberg E, Mody I, Judy JW (2007) An embedded system architecture for wireless neural recording. In: 3rd Int IEEE/EMBS Conference on Neural Engineering, pp 327–332
Fee MS, Mitra PP, Kleinfeld D (1996) Variability of extracellular spike waveforms of cortical neurons. J Neurophysiol 76(6):3823–3833
Gozani SN, Miller JP (1994) Optimal discrimination and classification of neuronal action potential waveforms from multiunit, multichannel recordings using software-based linear filters. IEEE Trans Biomed Eng 41(4):358–372
Guillory KS, Normann RA (1999) A 100-channel system for real time detection and storage of extracellular spike waveforms. J Neurosci Methods 91(1–2):21–29
Harrison RR (2003) A low-power integrated circuit for adaptive detection of action potentials in noisy signals. Conf Proc IEEE Eng Med Biol Soc 4:3325–3328
Harrison RR (2008) The design of integrated circuits to observe brain activity. Proc IEEE 96(7):1203–1216
Harrison RR, Watkins PT, Kier RJ, Lovejoy RO, Black DJ, Greger B, Solzbacher F (2007) A low-power integrated circuit for a wireless 100-electrode neural recording system. IEEE J Solid State Circuits 42(1):123–133
Hatsopoulos NG, Xu Q, Amit Y (2007) Encoding of movement fragments in the motor cortex. J Neurosci 27(19):5105–5114
Jensen W, Rousche PJ (2006) On variability and use of rat primary motor cortex responses in behavioral task discrimination. J Neural Eng 3(1):7–13
Kim KH, Kim SJ (2000) Neural spike sorting under nearly 0-dB signal-to-noise ratio using nonlinear energy operator and artificial neural-network classifier. IEEE Trans Biomed Eng 47(10):1406–1411
Kim KH, Kim SJ (2003) A wavelet-based method for action potential detection from extracellular neural signal recording with low signal-to-noise ratio. IEEE Trans Biomed Eng 50(8):999–1011
Kim S, McNames J (2007) Automatic spike detection based on adaptive template matching for extracellular neural recordings. J Neurosci Methods 165(2):165–174
Leiser SC, Moxon KA (2007) Responses of trigeminal ganglion neurons during natural whisking behaviors in the awake rat. Neuron 53(1):117–133
Nenadic Z, Burdick JW (2005) Spike detection using the continuous wavelet transform. IEEE Trans Biomed Eng 52(1):74–87
Nenadic Z, Burdick JW (2006) A control algorithm for autonomous optimization of extracellular recordings. IEEE Trans Biomed Eng 53(5):941–955
Nicolelis MA, Dimitrov D, Carmena JM, Crist R, Lehew G, Kralik JD, Wise SP (2003) Chronic, multisite, multielectrode recordings in macaque monkeys. Proc Natl Acad Sci USA 100(19):11041–11046
Obeid I (2007) Comparison of spike detectors based on simultaneous intracellular and extracellular recordings. In: 3rd Int IEEE/EMBS Conference Neural Engineering, pp 410–413
Obeid I, Wolf PD (2004) Evaluation of spike-detection algorithms for a brain–machine interface application. IEEE Trans Biomed Eng 51(6):905–911
Olsson RH III, Wise KD (2005) A three-dimensional neural recording microsystem with implantable data compression circuitry. IEEE J Solid State Circuits 40(12):2796–2804
Paninski L, Fellows MR, Hatsopoulos NG, Donoghue JP (2004) Spatiotemporal tuning of motor cortical neurons for hand position and velocity. J Neurophysiol 91(1):515–532
Pouzat C, Mazor O, Laurent G (2002) Using noise signature to optimize spike-sorting and to assess neuronal classification quality. J Neurosci Methods 122(1):43–57
Quiroga RQ, Nadasdy Z, Ben-Shaul Y (2004) Unsupervised spike detection and sorting with wavelets and superparamagnetic clustering. Neural Comput 16(8):1661–1687
Rizk M, Obeid I, Callender SH, Wolf PD (2007) A single-chip signal processing and telemetry engine for an implantable 96-channel neural data acquisition system. J Neural Eng 4(3):309–321
Rutishauser U, Schuman EM, Mamelak AN (2006) Online detection and sorting of extracellularly recorded action potentials in human medial temporal lobe recordings, in vivo. J Neurosci Methods 154(1):204–224
Snider RK, Bonds AB (1998) Classification of non-stationary neural signals. J Neurosci Methods 84(1–2):155–66
Sodagar AM, Wise KD, Najafi K (2007) A fully integrated mixed-signal neural processor for implantable multichannel cortical recording. IEEE Trans Biomed Eng 54(6):1075–1088
Soto E, Manjarrez E, Vega R (1997) A microcomputer program for automated neuronal spike detection and analysis. Int J Med Inform 44(3):203–212
Suner S, Fellows MR, Vargas-Irwin C, Nakata GK, Donoghue JP (2005) Reliability of signals from a chronically implanted, silicon-based electrode array in non-human primate primary motor cortex. IEEE Trans Neural Syst Rehabil Eng 13(4):524–541
Thakur PH, Lu H, Hsiao SS, Johnson KO (2007) Automated optimal detection and classification of neural action potentials in extra-cellular recordings. J Neurosci Methods 162(1):364–376
Watkins PT, Santhanam G, Shenoy KV, Harrison RR (2004) Validation of adaptive threshold spike detector for neural recording. Conf Proc IEEE Eng Med Biol Soc 6:4079–4082
Zumsteg ZS, Kemere C, O’Driscoll S, Santhanam G, Ahmed RE, Shenoy KV, Meng TH (2005) Power feasibility of implantable digital spike sorting circuits for neural prosthetic systems. IEEE Trans Neural Syst Rehabil Eng 13(3):272–279
Acknowledgments
We would like to thank Dr. Iyad Obeid for his helpful comments. This work was supported by Grant Number F31EB007897 from the National Institute of Biomedical Imaging and Bioengineering.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Rizk, M., Wolf, P.D. Optimizing the automatic selection of spike detection thresholds using a multiple of the noise level. Med Biol Eng Comput 47, 955–966 (2009). https://doi.org/10.1007/s11517-009-0451-2
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11517-009-0451-2