NeuroSimo: an open-source software for closed-loop EEG- or EMG-guided TMS
Kahilakoski, O.-P.; Alkio, K.; Siljamo, O.; Valen, K.; Laurinoja, J.; Haxel, L.; Makkonen, M.; Mutanen, T. P.; Tommila, T.; Guidotti, R.; Pieramico, G.; Ilmoniemi, R. J.; Roine, T.
Show abstract
ObjectiveOur goal was to create open-source software for closed-loop EEG-TMS that allows researchers to rapidly prototype and develop novel stimulation paradigms in a high-level programming language. This addresses the limitations of current solutions, which often rely on proprietary hardware and software, limiting their accessibility and customizability, or comprise ad-hoc pipelines tailored to specific use cases. ApproachWe developed NeuroSimo, a software platform that enables arbitrary EEG-TMS stimulation protocols written in Python, leveraging Pythons ecosystem of scientific, neuroimaging, and machine learning libraries. The core software is written in C++ with an embedded Python interpreter and employs the Robot Operating System (ROS 2) for inter-process communication. NeuroSimo runs on real-time-enabled Linux Ubuntu, using LabJack T4 for pulse triggering, and supports two EEG device models (Bittium NeurOne, BrainProducts actiCHamp) and TMS devices that deliver pulses via trigger signals. The software includes a graphical user interface for configuration and performance monitoring, and supports GPU processing for neural network computations. Main resultsIn brain-state-dependent stimulation using the Phastimate algorithm, which targets TMS pulses to the trough of sensorimotor -rhythm, NeuroSimo achieved a median timing error of 0.2 ms (95% CI: 0.2-0.2 ms), a 99th-percentile of 0.6 ms (0.6-0.6 ms), and a maximum of 1.4 ms. SignificanceAs an open-source platform combining Pythons flexibility with real-time closed-loop EEG-TMS, NeuroSimo enables researchers to develop and implement novel therapeutic approaches, marking a significant advance in personalized brain stimulation.
Matching journals
The top 4 journals account for 50% of the predicted probability mass.
Similar papers in this journal
Similar papers in this journal
Similar papers in this journal
- Multi-locus transcranial magnetic stimulation system for electronically targeted brain stimulation 95%
- Closed-loop optimization of transcranial magnetic stimulation with electroencephalography feedback 94%
- Automated artifact injection into sensing-capable brain modulation devices for neural-behavioral synchronization and the influence of device state 94%
Similar papers in this journal
- Comparing MEG and EEG measurement set-ups for a brain--computer interface based on selective auditory attention 94%
- Diffusion model-based image generation from rat brain activity 93%
- Stimulus-induced narrow-band gamma oscillations in humans can be recorded using open-hardware low-cost EEG amplifier 93%
Similar papers in this journal
- Forecast Padding Enhances Accuracy and Robustness of EEG-Phase-Synchronized TMS 95%
- Closed-loop control of functional electrical stimulation using a selectively recording and bidirectional nerve cuff interface 93%
- M2M-InvNet: Human Motor Cortex Mapping from Multi-Muscle Response Using TMS and Generative 3D Convolutional Network 92%
"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.