Brian 2, an intuitive and efficient neural simulator
- PMID: 31429824
- PMCID: PMC6786860
- DOI: 10.7554/eLife.47314
Brian 2, an intuitive and efficient neural simulator
Abstract
Brian 2 allows scientists to simply and efficiently simulate spiking neural network models. These models can feature novel dynamical equations, their interactions with the environment, and experimental protocols. To preserve high performance when defining new models, most simulators offer two options: low-level programming or description languages. The first option requires expertise, is prone to errors, and is problematic for reproducibility. The second option cannot describe all aspects of a computational experiment, such as the potentially complex logic of a stimulation protocol. Brian addresses these issues using runtime code generation. Scientists write code with simple and concise high-level descriptions, and Brian transforms them into efficient low-level code that can run interleaved with their code. We illustrate this with several challenging examples: a plastic model of the pyloric network, a closed-loop sensorimotor model, a programmatic exploration of a neuron model, and an auditory model with real-time input.
Keywords: computational neuroscience; neuroscience; none; simulation; software.
© 2019, Stimberg et al.
Conflict of interest statement
MS, RB, DG No competing interests declared
Figures














References
-
- Abbott LF, Marder E. Modeling small networks. In: Koch C, Segev I, editors. Methods in Neuronal Modeling. Cambridge: MIT Press; 1998. pp. 361–410.
-
- Ascoli GA, Donohue DE, Halavi M. NeuroMorpho.Org: a central resource for neuronal morphologies. Journal of Neuroscience. 2007;27:9247–9251. doi: 10.1523/JNEUROSCI.2055-07.2007. - DOI - PMC - PubMed
-
- Behnel S, Bradshaw R, Citro C, Dalcin L, Seljebotn DS, Smith K. Cython: the best of both worlds. Computing in Science & Engineering. 2011;13:31–39. doi: 10.1109/MCSE.2010.118. - DOI
-
- Bencina R, Burk P. PortAudio: Portable real-time audio library. 1999 http://www.portaudio.com
-
- Blundell I, Brette R, Cleland TA, Close TG, Coca D, Davison AP, Diaz-Pier S, Fernandez Musoles C, Gleeson P, Goodman DFM, Hines M, Hopkins MW, Kumbhar P, Lester DR, Marin B, Morrison A, Müller E, Nowotny T, Peyser A, Plotnikov D, Richmond P, Rowley A, Rumpe B, Stimberg M, Stokes AB, Tomkins A, Trensch G, Woodman M, Eppler JM. Code generation in computational neuroscience: a review of tools and techniques. Frontiers in Neuroinformatics. 2018;12:68. doi: 10.3389/fninf.2018.00068. - DOI - PMC - PubMed
Publication types
MeSH terms
Grants and funding
LinkOut - more resources
Other Literature Sources