A clock-driven simulator for spiking neural networks
Brian is a free, open source simulator for spiking neural networks. It is written in the Python programming language and is available on almost all platforms. We believe that a simulator should not only save the time of processors, but also the time of scientists. Brian is therefore designed to be easy to learn and use, highly flexible and easily extensible.
Please report issues at the GitHub issue tracker (https://github.com/brian-team/brian2/issues) or in the Brian forum (https://brian.discourse.group).
Documentation for Brian 2 can be found at http://brian2.readthedocs.org
Brian 2 is released under the terms of the CeCILL 2.1 license.
If you use Brian for your published research, we kindly ask you to cite our article:
Stimberg, M, Brette, R, Goodman, DFM. “Brian 2, an Intuitive and Efficient Neural Simulator.” eLife 8 (2019): e47314. doi: 10.7554/eLife.47314.
PyPI version: https://pypi.python.org/pypi/Brian2 Conda version: https://anaconda.org/conda-forge/brian2 Debian package: https://packages.debian.org/testing/python3-brian Fedora package: https://packages.fedoraproject.org/pkgs/python-brian2/python3-brian2/ Spack: https://packages.spack.io/package.html?name=py-brian2 AUR version: https://aur.archlinux.org/packages/python-brian2
Docker Pulls: https://hub.docker.com/r/briansimulator/brian DOI: https://zenodo.org/doi/10.5281/zenodo.17833036 Software Heritage (repository): https://archive.softwareheritage.org/browse/origin/?origin_url=https://github.com/brian-team/brian2 Software Heritage (release): https://archive.softwareheritage.org/swh:1:rel:ba3061dfeb4e1a23791c063612f560990a0eea69;origin=https://github.com/brian-team/brian2;visit=swh:1:snp:bb8a53ef18202531e042a06297936bb230d4f6af
Contributor Covenant: <CODE_OF_CONDUCT.md> Discourse topics: https://brian.discourse.group Discourse chat: https://brian.discourse.group/chat
Neuromorphic Computing: https://open-neuromorphic.org/neuromorphic-computing/ PySimHub: https://pysimhub.io/projects/brian2
Ruff: https://github.com/astral-sh/ruff SPEC 0 — Minimum Supported Dependencies: https://scientific-python.org/specs/spec-0000/
Try out Brian on the mybinder service: https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=index.ipynb
The following packages need to be installed to use Brian 2 (cf. pyproject.toml):
For full functionality, you might also want to install:
To build the documentation:
To run the test suite: