Vectorized algorithms for spiking neural network simulation
Related Experiment Video
Updated: Jun 3, 2026

Closed-loop Neuro-robotic Experiments to Test Computational Properties of Neuronal Networks
Published on: March 2, 2015
Romain Brette1, Dan F M Goodman
1Laboratoire Psychologie de la Perception, CNRS and Université Paris Descartes, Paris 75006, France, and Département d'Etudes Cognitives, Ecole Normale Supérieure, Paris Cedex 05, 75230 France. romain.brette@ens.fr
Abstract:
High-level languages (Matlab, Python) are popular in neuroscience because they are flexible and accelerate development. However, for simulating spiking neural networks, the cost of interpretation is a bottleneck. We describe a set of algorithms to simulate large spiking neural networks efficiently with high-level languages using vector-based operations. These algorithms constitute the core of Brian, a spiking neural network simulator written in the Python language. Vectorized simulation makes it possible to combine the flexibility of high-level languages with the computational efficiency usually associated with compiled languages.
