Overview
Brian 2 is a Python-based, open-source simulator designed for spiking neural networks. It allows users to define, run, and plot neural models using a straightforward syntax. Brian 2 leverages runtime code generation, automatically converting equations into low-level C++ code for efficient simulations. This simulator supports detailed biophysical models like Hodgkin-Huxley, as well as simplified models such as leaky integrate-and-fire neurons, offering the flexibility to implement custom synapse models. Brian 2 has been used in numerous modeling studies and is integrated into the computational neuroscience textbook 'Neuronal Dynamics'. It caters to researchers and students who require a reliable, accurate, and customizable tool for neural network simulations.
Common tasks