An open-source, ready-to-use and validated ripple detector plugin for the Open Ephys GUI
Bruno Monteiro de SousaiD, Eliezyer Fermino de OliveiraiD, Ikaro Jesus Silva BeraldoiD, Rafaela Schuttenberg PolanczykiD, João Pereira LeiteiD, Cleiton Lopes‐AguiariD
Abstract
Sharp wave-ripples (SWRs, 100-250 Hz) are oscillatory events extracellularly recorded in the CA1 subfield of the hippocampus during sleep and quiet wakefulness. SWRs are thought to be involved in the dialogue between the hippocampus and cortical regions to promote memory consolidation during sleep and memory-guided decision making. Many studies employed closed-loop strategies to either detect and abolish SWRs within the hippocampus or manipulate other relevant areas upon ripple detection. However, the code and schematics necessary to replicate the detection system are not always available, which hinders the reproducibility of experiments among different research groups. Furthermore, information about performance is not usually reported. Here, we present the development and validation of an open-source, real-time ripple detection plugin integrated into the Open Ephys GUI. It contains a built-in movement detector based on accelerometer or electromyogram data that prevents false ripple events (due to chewing, grooming, or moving, for instance) from triggering the stimulation/manipulation device. To determine the accuracy of the detection algorithm, we first carried out simulations in Matlab with synthetic and real ripple recordings. Using a specific combination of detection parameters (amplitude threshold of 5 standard deviations above the mean, time threshold of 10 ms, and RMS block size of 7 samples), we obtained a 97% true positive rate and 2.48 false positives per minute on the real data. Next, an Open Ephys plugin based on the same detection algorithm was developed, and a closed-loop system was set up to evaluate the round trip (ripple onset-to-stimulation) latency over synthetic data. The lowest latency obtained was 34.5 {+/-} 0.5 ms. Besides contributing to increased reproducibility, we anticipate that the developed ripple detector plugin will be helpful for many closed-loop applications in the field of systems neuroscience.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 4
- FWCI
- 0.39
- Field percentile
- top 47%
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Analysis of an open source, closed-loop, realtime system for hippocampal sharp-wave ripple disruption
Shayok Dutta, Etienne Ackermann, Caleb T. Kemere·Journal of Neural EngineeringPeer-reviewed·Oct 17, 2018
- Hippocampal ripples are distinguishable from aperiodic activity
James E. Kragel·bioRxiv·Jul 9, 2026
- Semisupervised definition of hippocampal ripples
Yusuke Watanabe, Mami Okada, Yuji Ikegaya·bioRxiv·Oct 23, 2020
- Spatiotemporal Patterns Differentiate Hippocampal Sharp-Wave Ripples from Interictal Epileptiform Discharges in Mice and Humans
Anna Maslarova, Jiyun N. Shin, … Anli A. Liu·Nature CommunicationsPeer-reviewed·Nov 26, 2025
- RippleNet: A Recurrent Neural Network for Sharp Wave Ripple (SPW-R) Detection
Espen Hagen, Anna R. Chambers, … Alexander J. Stasik·NeuroinformaticsPeer-reviewed·Jan 4, 2021
- Hippocampal ripples evoke a stereotyped cortical response followed by spindle-mediated network synchronization.
Pin-Chun Chen, Jenny Stritzelberger, … Bernhard P. Staresina·bioRxiv·May 18, 2026