RealtimeDecoder: A Fast Software Module for Online Clusterless Decoding

Decoding algorithms provide a powerful tool for understanding the firing patterns that underlie cognitive processes such as motor control, learning, and recall. When implemented in the context of a real-time system, decoders also make it possible to deliver feedback based on the representational content of ongoing neural activity. That, in turn, allows experimenters to test hypotheses about the role of that content in driving downstream activity patterns and behaviors. While multiple real-time systems have been developed, they are typically implemented with a compiled programming language, making them more difficult for users to quickly adapt for new experiments. Here we present a software system written in the widely used Python programming language to facilitate rapid experimentation. Our solution implements the state space based clusterless decoding algorithm for an online, real-time environment. The parallelized application processes neural data with temporal resolution of 6 ms and median computational latency <50 ms for medium- to large-scale (32+ tetrodes) rodent hippocampus recordings without the need for spike sorting. It also executes auxiliary functions such as detecting sharp wave ripples from local field potential data. Even with an interpreted language, the performance is similar to state-of-the-art solutions that use compiled programming languages. We demonstrate this real-time decoder in a rat behavior experiment in which the decoder allowed closed-loop neurofeedback based on decoded hippocampal spatial representations. Overall this system provides a powerful and easy-to-modify tool for real-time feedback experiments.

Authors

Institutions

Publication Details

Journal
eNeuro
Published
2025-11-20
DOI
https://doi.org/10.1523/eneuro.0252-24.2025
Primary Topic
Memory and Neural Mechanisms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

RealtimeDecoder: A Fast Software Module for Online Clusterless Decoding

Uri T. Eden, Michael E. Coulter, Caleb Kemere, Eric L. Denovellis et al.
eNeuro
Memory and Neural Mechanisms
article

RealtimeDecoder: A Fast Software Module for Online Clusterless Decoding

Uri T. Eden, Michael E. Coulter, Caleb Kemere, Eric L. Denovellis, Joshua Chu, Trevor Thai K Nguyen, Loren M. Frank, Daniel F. Liu, Xinyi Deng
article en

Abstract

Decoding algorithms provide a powerful tool for understanding the firing patterns that underlie cognitive processes such as motor control, learning, and recall. When implemented in the context of a real-time system, decoders also make it possible to deliver feedback based on the representational content of ongoing neural activity. That, in turn, allows experimenters to test hypotheses about the role of that content in driving downstream activity patterns and behaviors. While multiple real-time systems have been developed, they are typically implemented with a compiled programming language, making them more difficult for users to quickly adapt for new experiments. Here we present a software system written in the widely used Python programming language to facilitate rapid experimentation. Our solution implements the state space based clusterless decoding algorithm for an online, real-time environment. The parallelized application processes neural data with temporal resolution of 6 ms and median computational latency <50 ms for medium- to large-scale (32+ tetrodes) rodent hippocampus recordings without the need for spike sorting. It also executes auxiliary functions such as detecting sharp wave ripples from local field potential data. Even with an interpreted language, the performance is similar to state-of-the-art solutions that use compiled programming languages. We demonstrate this real-time decoder in a rat behavior experiment in which the decoder allowed closed-loop neurofeedback based on decoded hippocampal spatial representations. Overall this system provides a powerful and easy-to-modify tool for real-time feedback experiments.

eNeuroVol. 12(12)
QB3 (US), Boston University (US), Target (United States) (US), Howard Hughes Medical Institute (US), University of California, San Francisco (US), Beijing University of Technology (CN), Rice University (US), Beijing Information Science & Technology University (CN)
Openalex Percentile: Top 64%
Memory and Neural Mechanisms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.