Bridging model and experiment in systems neuroscience with Cleo: the Closed-Loop, Electrophysiology, and Optophysiology simulation testbed

Kyle A. Johnsen,Nathanael A. Cruzado,Zachary C. Menard,Adam A. Willats,Adam S. Charles,Jeffrey E. Markowitz,Christopher J. Rozell
DOI: https://doi.org/10.1101/2023.01.27.525963
2024-07-09
Abstract:Systems neuroscience has experienced an explosion of new tools for reading and writing neural activity, enabling exciting new experiments such as all-optical or closed-loop control that effect powerful causal interventions. At the same time, improved computational models are capable of reproducing behavior and neural activity with increasing fidelity. Unfortunately, these advances have drastically increased the complexity of integrating different lines of research, resulting in the missed opportunities and untapped potential of suboptimal experiments. Experiment simulation can help bridge this gap, allowing model and experiment to better inform each other by providing a low-cost testbed for experiment design, model validation, and methods engineering. Specifically, this can be achieved by incorporating the simulation of the experimental interface into our models, but no existing tool integrates optogenetics, two-photon calcium imaging, electrode recording, and flexible closed-loop processing with neural population simulations. To address this need, we have developed Cleo: the Closed-Loop, Electrophysiology, and Optophysiology experiment simulation testbed. Cleo is a Python package enabling injection of recording and stimulation devices as well as closed-loop control with realistic latency into a Brian spiking neural network model. It is the only publicly available tool currently supporting two-photon and multi-opsin/wavelength optogenetics. To facilitate adoption and extension by the community, Cleo is open-source, modular, tested, and documented, and can export results to various data formats. Here we describe the design and features of Cleo, validate output of individual components and integrated experiments, and demonstrate its utility for advancing optogenetic techniques in prospective experiments using previously published systems neuroscience models.
Neuroscience
What problem does this paper attempt to address?
The paper aims to address the gap between experimental and theoretical models in systems neuroscience. Specifically, with the development of new technologies such as all-optical control and closed-loop control, the complexity of experiments has significantly increased, leading to a disconnect between experimental design and theoretical model validation. To tackle this challenge, the authors have developed a new open-source software tool called Cleo. Cleo is a closed-loop, electrophysiology, and optophysiology experimental simulation testing platform that allows researchers to validate and optimize experimental protocols through simulation during the experimental design phase. The main features of Cleo include: 1. **Integration of Multiple Technologies**: Cleo integrates optogenetics, two-photon calcium imaging, electrode recording, and flexible closed-loop processing technologies, combining these with neural population simulations. 2. **Python Package**: As a Python package, Cleo can inject recording and stimulation devices into Brian neural network models and supports real-time delay closed-loop control. 3. **Two-Photon and Multi-Protein/Wavelength Support**: Cleo is currently the only publicly available tool that supports two-photon and multi-protein/wavelength optogenetics. 4. **Modular Design**: Cleo adopts a modular design, making it easy for users to add different recording or stimulation devices without significant modifications to the underlying network model. 5. **Result Export**: Cleo can export simulation results in various formats, compatible with existing data analysis tools and workflows. Through Cleo, researchers can conduct low-cost simulation tests before designing experiments, accelerating the experimental design process, improving tools and techniques, and enhancing the comparison between models and experimental data. Additionally, Cleo supports application cases in various experimental scenarios, including traveling wave inhibition in the sensory cortex, disruption of plasticity in the visual cortex, and induction of sharp wave ripples in the hippocampus.