eLifeNeurosciencePeer-reviewed journal article
Brian 2: an intuitive and efficient neural simulator
Abstract
To be maximally useful for neuroscience research, neural simulators must make it possible to define original models. This is especially important because a computational experiment might not only need descriptions of neurons and synapses, but also models of interactions with the environment (e.g. muscles), or the environment itself. To preserve high performance when defining new models, current simulators offer two options: low-level programming, or mark-up languages (and other domain specific languages). The first option requires time and expertise, is prone to errors, and contributes to problems with reproducibility and replicability. The second option has limited scope, since it can only describe the range of neural models covered by the ontology. Other aspects of a computational experiment, such as the stimulation protocol, cannot be expressed within this framework. \"Brian\" 2 is a complete rewrite of Brian that addresses this issue by using runtime code generation with a procedural equation-oriented approach. Brian 2 enables scientists to write code that is particularly simple and concise, closely matching the way they conceptualise their models, while the technique of runtime code generation automatically transforms high level descriptions of models into efficient low level code tailored to different hardware (e.g. CPU or GPU). We illustrate it with several challenging examples: a plastic model of the pyloric network of crustaceans, a closed-loop sensorimotor model, programmatic exploration of a neuron model, and an auditory model with real-time input from a microphone.
- Citations
- 746
- FWCI
- 36.47
- Field percentile
- top 1%
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
- Brian2GeNN: a system for accelerating alarge variety of spiking neural networkswith graphics hardware
Marcel Stimberg, Dan F. M. Goodman, Thomas Nowotny·bioRxiv·Oct 20, 2018
- Modeling neuron-glia interactions with the Brian 2 simulator
Marcel Stimberg, Dan F. M. Goodman, … Maurizio De Pittà·bioRxiv·Oct 5, 2017
- SimTracker tool and code template to design, manage and analyze neural network model simulations in parallel NEURON
Marianne J. Bezaire, Ivan Raikov, … Iván Soltész·bioRxiv·Oct 19, 2016
- Neuromechanical Simulation with NEURON and MuJoCo
Chris Fietkiewicz, Linh Tran, … Peter J. Thomas·bioRxiv·Jun 17, 2025
- Cross-comparison of state of the art neuromorphological simulators on modern CPUs and GPUs using the Brain Scaffold Builder
Robin De Schepper, Nora Abi Akar, … Claudia Casellato·bioRxiv·Mar 2, 2022
- Modernizing the NEURON Simulator for Sustainability, Portability, and Performance
Omar Awile, Pramod Kumbhar, … Felix Schürmann·Frontiers in NeuroinformaticsPeer-reviewed·Jun 27, 2022