Skip to main content

A clock-driven simulator for spiking neural networks

Project description

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 Brian2 can be found at http://brian2.readthedocs.org

Brian2 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.

https://img.shields.io/pypi/v/Brian2.svg https://img.shields.io/conda/vn/conda-forge/brian2.svg Debian package Fedora package Spack AUR version Publish status on GitHub Actions Docker Pulls https://zenodo.org/badge/DOI/10.5281/zenodo.8099373.svg https://archive.softwareheritage.org/badge/origin/https://github.com/brian-team/brian2/ https://archive.softwareheritage.org/badge/swh:1:rel:e4d609023553bfbd62bf57960dd6f9d342a1d0e8/ Contributor Covenant Discourse topics Discourse chat code style: black

Quickstart

Try out Brian on the mybinder service:

http://mybinder.org/badge.svg

Dependencies

The following packages need to be installed to use Brian 2 (cf. setup.py):

  • Python >= 3.9

  • NumPy >=1.21

  • SymPy >= 1.2

  • Cython >= 0.29.21

  • PyParsing

  • Jinja2 >= 2.7

  • setuptools >= 61

  • py-cpuinfo (only required on Windows)

For full functionality, you might also want to install:

  • GSL >=1.16

  • SciPy >=0.13.3

  • Matplotlib >= 2.0

To build the documentation:

  • Sphinx (>=7)

To run the test suite:

  • pytest

  • pytest-xdist (optional)

Testing status for master branch

Test status on GitHub Actions Test coverage Documentation Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Brian2-2.6.0.tar.gz (1.7 MB view hashes)

Uploaded Source

Built Distributions

Brian2-2.6.0-cp312-cp312-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

Brian2-2.6.0-cp312-cp312-musllinux_1_1_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp312-cp312-macosx_11_0_arm64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

Brian2-2.6.0-cp312-cp312-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

Brian2-2.6.0-cp311-cp311-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

Brian2-2.6.0-cp311-cp311-musllinux_1_1_x86_64.whl (2.4 MB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp311-cp311-macosx_11_0_arm64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Brian2-2.6.0-cp311-cp311-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

Brian2-2.6.0-cp310-cp310-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

Brian2-2.6.0-cp310-cp310-musllinux_1_1_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp310-cp310-macosx_11_0_arm64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

Brian2-2.6.0-cp310-cp310-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Brian2-2.6.0-cp39-cp39-win_amd64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

Brian2-2.6.0-cp39-cp39-musllinux_1_1_x86_64.whl (2.3 MB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

Brian2-2.6.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

Brian2-2.6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.8 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

Brian2-2.6.0-cp39-cp39-macosx_11_0_arm64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

Brian2-2.6.0-cp39-cp39-macosx_10_9_x86_64.whl (1.2 MB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page