arrow
Return

RealtimeDecoder: A Fast Software Module for Online Clusterless Decoding

delete2025-12-01
delete0
delete
OA
AI
J
Joshua Chu
M
Michael E. Coulter
E
Eric L. Denovellis
T
Trevor Thai K Nguyen
D
Daniel F. Liu
X
Xinyi Deng
U
Uri T. Eden
C
Caleb Kemere *
L
Loren M. Frank *
DOI:10.1523/ENEURO.0252-24.2025delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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.
Keywords:
brain-machine interface
hippocampus
learning
memory
real-time neural decoding

Journal

eNeuro cover
eNeuro
IF:
2.7
Papers:
190
Citations:
7.3K

Organization

R
rice university
Scholars:
840
Papers: 366
Citations: 0
University of California System cover
University of California System
Scholars:
37.7W
Papers: 33.8W
Citations: 6.6K
H
howard hughes medical institute
Scholars:
77
Papers: 30
Citations: 0
researcher View more organizations
Cited Papers

Cited Papers

Optimizing for generalization in the decoding of internally generated activity in the hippocampus
err2017-03-02
err0
errOAAI
errMatthijs A. A. van der Meer; Alyssa A. Carey; Youki Tanaka
errShare
errSave
Hippocampal awake replay in fear memory retrieval
err2017-02-20
err0
errOAAI
errChun-Ting Wu; Daniel Haggerty; Caleb Kemere; Daoyun Ji
errShare
errSave
Awake replay of remote experiences in the hippocampus
err2009-06-14
err0
errOAAI
errMattias P Karlsson; Loren M Frank
errShare
errSave
Hippocampal replay of experience at real-world speeds
err2021-09-27
err0
errOAAI
errEric L Denovellis; Anna K Gillespie; Michael E Coulter; Marielena Sosa; Jason E Chung; Uri T Eden; Loren M Frank
errShare
errSave
Strengthened Temporal Coordination within Pre-existing Sequential Cell Assemblies Supports Trajectory Replay
errNEURON
IF15
err2019-08-01
err49
errOAAI
errFarooq, Usman; Sibille, Jeremie; Liu, Kefei; Dragoi, George
errShare
errSave
The Role of Hippocampal Replay in Memory and Planning
err2018-01-01
err241
errOAAI
errOlafsdottir, H. Freyja; Bush, Daniel; Barry, Caswell
errShare
errSave
researcher View more