OP-GLX: A MATLAB Toolbox for Online Processing and Plotting of Neuropixels Data Acquired with SpikeGLX
Authors:
Preprint
Abstract
Online processing and visualization of large-scale neural data is critical for neuroscientific discovery and advancements in neural engineering. However, with the development of technologies like Neuropixels (NP) probes, which enable simultaneous streaming from hundreds of recording electrodes, handling such data in real-time has become an ongoing challenge. Moreover, keeping pace with recording hardware has required most existing software, such as SpikeGLX for NP probes, to prioritize acquisition stability, leaving data processing and visualization to primarily be performed offline. Thus, we created OP-GLX, a MATLAB-based toolbox designed to operate in tandem with SpikeGLX to enhance the fetching, processing, and visualization of incoming neural data. The OP-GLX toolbox features several processing capabilities, including spike detection, computing time-binned firing rates, plotting spike waveforms, and conducting principal component analysis (PCA). The processed neural data is displayed on a native graphical user interface (GUI) for intuitive and customizable interaction with the experiment. The performance testing of OP-GLX showed that it supports real-time operation, confirmed by the absence of SpikeGLX stream buffer fetch errors across multiple acquisition settings. By complementing current neural data acquisition methods and providing stable online functionality, we envision that OP-GLX will enable researchers to visualize and interpret their data more effectively during ongoing neuroscience experiments.Keywords
This publication has 31 references indexed in Scilit:
- Advances in flexible high-density microelectrode arrays for brain-computer interfacesBiosensors and Bioelectronics, 2025
- Spinal cord stimulation restores locomotion in a Parkinson's disease patient and rodentsBrain Stimulation, 2025
- Temporal dynamics of nucleus accumbens neurons in male mice during reward seekingNature Communications, 2024
- Brain-wide neural activity underlying memory-guided movementCell, 2024
- Neural population dynamics reveals disruption of spinal circuits’ responses to proprioceptive input during electrical stimulation of sensory afferentsCell Reports, 2024
- The representation of occluded image regions in area V1 of monkeys and humansCurrent Biology, 2023
- Autonomous optimization of neuroprosthetic stimulation parameters that drive the motor cortex and spinal cord outputs in rats and monkeysCell Reports Medicine, 2023
- Challenges and opportunities for large-scale electrophysiology with Neuropixels probesCurrent Opinion in Neurobiology, 2018
- Fully integrated silicon probes for high-density recording of neural activityNature, 2017
- What is the real shape of extracellular spikes?Journal of Neuroscience Methods, 2009