Cargando…
Low-latency single channel real-time neural spike sorting system based on template matching
Recent technical advancements in neural engineering allow for precise recording and control of neural circuits simultaneously, opening up new opportunities for closed-loop neural control. In this work, a rapid spike sorting system was developed based on template matching to rapidly calculate instant...
Autores principales: | , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2019
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6874356/ https://www.ncbi.nlm.nih.gov/pubmed/31756211 http://dx.doi.org/10.1371/journal.pone.0225138 |
_version_ | 1783472825239076864 |
---|---|
author | Wang, Pan Ke Pun, Sio Hang Chen, Chang Hao McCullagh, Elizabeth A. Klug, Achim Li, Anan Vai, Mang I. Mak, Peng Un Lei, Tim C. |
author_facet | Wang, Pan Ke Pun, Sio Hang Chen, Chang Hao McCullagh, Elizabeth A. Klug, Achim Li, Anan Vai, Mang I. Mak, Peng Un Lei, Tim C. |
author_sort | Wang, Pan Ke |
collection | PubMed |
description | Recent technical advancements in neural engineering allow for precise recording and control of neural circuits simultaneously, opening up new opportunities for closed-loop neural control. In this work, a rapid spike sorting system was developed based on template matching to rapidly calculate instantaneous firing rates for each neuron in a multi-unit extracellular recording setting. Cluster templates were first generated by a desktop computer using a non-parameter spike sorting algorithm (Super-paramagnetic clustering) and then transferred to a field-programmable gate array digital circuit for rapid sorting through template matching. Two different matching techniques–Euclidean distance (ED) and correlational matching (CM)–were compared for the accuracy of sorting and the performance of calculating firing rates. The performance of the system was first verified using publicly available artificial data and was further confirmed with pre-recorded neural spikes from an anesthetized Mongolian gerbil. Real-time recording and sorting from an awake mouse were also conducted to confirm the system performance in a typical behavioral neuroscience experimental setting. Experimental results indicated that high sorting accuracies were achieved for both template-matching methods, but CM can better handle spikes with non-Gaussian spike distributions, making it more robust for in vivo recording. The technique was also compared to several other off-line spike sorting algorithms and the results indicated that the sorting accuracy is comparable but sorting time is significantly shorter than these other techniques. A low sorting latency of under 2 ms and a maximum spike sorting rate of 941 spikes/second have been achieved with our hybrid hardware/software system. The low sorting latency and fast sorting rate allow future system developments of neural circuit modulation through analyzing neural activities in real-time. |
format | Online Article Text |
id | pubmed-6874356 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2019 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-68743562019-12-06 Low-latency single channel real-time neural spike sorting system based on template matching Wang, Pan Ke Pun, Sio Hang Chen, Chang Hao McCullagh, Elizabeth A. Klug, Achim Li, Anan Vai, Mang I. Mak, Peng Un Lei, Tim C. PLoS One Research Article Recent technical advancements in neural engineering allow for precise recording and control of neural circuits simultaneously, opening up new opportunities for closed-loop neural control. In this work, a rapid spike sorting system was developed based on template matching to rapidly calculate instantaneous firing rates for each neuron in a multi-unit extracellular recording setting. Cluster templates were first generated by a desktop computer using a non-parameter spike sorting algorithm (Super-paramagnetic clustering) and then transferred to a field-programmable gate array digital circuit for rapid sorting through template matching. Two different matching techniques–Euclidean distance (ED) and correlational matching (CM)–were compared for the accuracy of sorting and the performance of calculating firing rates. The performance of the system was first verified using publicly available artificial data and was further confirmed with pre-recorded neural spikes from an anesthetized Mongolian gerbil. Real-time recording and sorting from an awake mouse were also conducted to confirm the system performance in a typical behavioral neuroscience experimental setting. Experimental results indicated that high sorting accuracies were achieved for both template-matching methods, but CM can better handle spikes with non-Gaussian spike distributions, making it more robust for in vivo recording. The technique was also compared to several other off-line spike sorting algorithms and the results indicated that the sorting accuracy is comparable but sorting time is significantly shorter than these other techniques. A low sorting latency of under 2 ms and a maximum spike sorting rate of 941 spikes/second have been achieved with our hybrid hardware/software system. The low sorting latency and fast sorting rate allow future system developments of neural circuit modulation through analyzing neural activities in real-time. Public Library of Science 2019-11-22 /pmc/articles/PMC6874356/ /pubmed/31756211 http://dx.doi.org/10.1371/journal.pone.0225138 Text en © 2019 Wang et al http://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Wang, Pan Ke Pun, Sio Hang Chen, Chang Hao McCullagh, Elizabeth A. Klug, Achim Li, Anan Vai, Mang I. Mak, Peng Un Lei, Tim C. Low-latency single channel real-time neural spike sorting system based on template matching |
title | Low-latency single channel real-time neural spike sorting system based on template matching |
title_full | Low-latency single channel real-time neural spike sorting system based on template matching |
title_fullStr | Low-latency single channel real-time neural spike sorting system based on template matching |
title_full_unstemmed | Low-latency single channel real-time neural spike sorting system based on template matching |
title_short | Low-latency single channel real-time neural spike sorting system based on template matching |
title_sort | low-latency single channel real-time neural spike sorting system based on template matching |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6874356/ https://www.ncbi.nlm.nih.gov/pubmed/31756211 http://dx.doi.org/10.1371/journal.pone.0225138 |
work_keys_str_mv | AT wangpanke lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT punsiohang lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT chenchanghao lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT mccullaghelizabetha lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT klugachim lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT lianan lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT vaimangi lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT makpengun lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching AT leitimc lowlatencysinglechannelrealtimeneuralspikesortingsystembasedontemplatematching |