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 https://zenodo.org/badge/DOI/10.5281/zenodo.5910837.svg https://archive.softwareheritage.org/badge/swh:1:rel:5f3d6b8e531d64530ac93ce5134194cf66a495b9/ Contributor Covenant Discourse topics Join the chat at https://gitter.im/brian-team/brian2 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.7

  • NumPy >=1.17

  • SymPy >= 1.2

  • Cython >= 0.29

  • PyParsing

  • Jinja2 >= 2.7

  • setuptools >= 24.2

  • 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 (>=1.8)

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.5.2.tar.gz (1.2 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

Brian2-2.5.2-cp311-cp311-win_amd64.whl (955.6 kB view details)

Uploaded CPython 3.11Windows x86-64

Brian2-2.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

Brian2-2.5.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

Brian2-2.5.2-cp311-cp311-macosx_10_9_x86_64.whl (966.9 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

Brian2-2.5.2-cp311-cp311-macosx_10_9_universal2.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 10.9+ universal2 (ARM64, x86-64)

Brian2-2.5.2-cp310-cp310-win_amd64.whl (956.6 kB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

Brian2-2.5.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

Brian2-2.5.2-cp310-cp310-macosx_10_9_x86_64.whl (968.3 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.2-cp310-cp310-macosx_10_9_universal2.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ universal2 (ARM64, x86-64)

Brian2-2.5.2-cp39-cp39-win_amd64.whl (957.6 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

Brian2-2.5.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.5 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

Brian2-2.5.2-cp39-cp39-macosx_10_9_x86_64.whl (968.4 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.2-cp39-cp39-macosx_10_9_universal2.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 10.9+ universal2 (ARM64, x86-64)

File details

Details for the file Brian2-2.5.2.tar.gz.

File metadata

  • Download URL: Brian2-2.5.2.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for Brian2-2.5.2.tar.gz
Algorithm Hash digest
SHA256 4535bed3d6398bc2f9460f979050fe2974345abbba92606787e2c86e8d78f604
MD5 a6a483208fd748ba3f53a4e2c5bc0b54
BLAKE2b-256 513f5fa18088f351545829b75ab3667a4d9c5c3aaba86dd33838e4b1dbea0503

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 955.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for Brian2-2.5.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 76d2d4f105ec79293628c8760a14a0211d7aecaf40f662c681a21b0a8157e361
MD5 71ecd3d56c476077c69390809a6916af
BLAKE2b-256 c0d5126ca59d093a7570303bc699004d936b0980043944f413015fc66812e8ff

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 892e78d9090de9ab430beac7600290ac985101f26872ba14f4e9d242954f5d4c
MD5 fad63dd5b009f089a26f0fea11a888c1
BLAKE2b-256 9cf838d1ae8cb7c6d5f860065088a90ba3c9d1dd94f0428aa2992a801e50680b

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1387f48f838cac272c23761fb6510c79609a4da9f9c19b682f07aeb4cfe9b034
MD5 5631d24a5988006c5d48d9f9b20f6512
BLAKE2b-256 0b9358ca27da23ab1472a6d11e296c787db27c86b945c5dc2a7db55825723656

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5d764c2d1546a5209fea4bdea8b87712fa088e2a53d3c2b2083af8258845ed1c
MD5 64bf78933dc8a517592e554035fee97d
BLAKE2b-256 0f643c684ca64383d614cad8b5cd4ca8ef34b889b3c9e8635d9a9a99d5124231

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp311-cp311-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 001df581a3a8faa536f5a0c2a8eba0ef5adf14c71b6d3cb96e478006aca27393
MD5 87bee5c63776a5df8bd19337a1f6f49f
BLAKE2b-256 73847385682ee2d8b929e8b5e1dbcbb33189422c04495a2bfb11ed781328810b

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 956.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for Brian2-2.5.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 322fbff098322e6aebefea9bc28f554a0b485adcd717fe19f8f3bdf70093b004
MD5 58fe781579728a2e0370e34886d07cb0
BLAKE2b-256 c84cae15b9c475004b72125a5fdcde865724039096544c56a70c3972f832d42c

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3363821f84a7227e1683571ed75261cd664ae99a8c798fcef0882bf3b292b0a
MD5 a2adc6d31724cc2a5633d97e90ee8f49
BLAKE2b-256 e9ed94c92d3c7e55748c0ee62d08b70b93357f5e9d47a542d7c9d4e103b07690

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 48a2fb269a1d1c7259183283873de7cc6432f86ec7485028ce6d2e57d7860ccb
MD5 ed694432aea4ef80590d0332ff4fb301
BLAKE2b-256 59c5f04ac1a5aeab15e7a512371d64766e9677845266457b2f0ba10cf92758d1

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 47a49b007884b0cd6966a6c1e51bc9da0070cba3b9ea0182bf2d07b1e96fb2d6
MD5 efacc1dc24bfdb1e515d399743034d92
BLAKE2b-256 d624fc7fbaf871bc01f378fa4f17868026f425a0fca3cc4a9c1b0add60556b38

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e062916310bddb91104ffabc6d9eb545a60b505b64f57b4916da785337e934c1
MD5 73320c7c9a3f2c72c68aa197e785d963
BLAKE2b-256 4343085f1505ce2442e37639debe30bdd6f7dcd7105ee5858e855949a367d188

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 957.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for Brian2-2.5.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c28a5c1cd6790dfc97c857ebeaaa681cdd8ab13126cddd7adef98b36c9f99640
MD5 c8186c2f2af9ebc3d1f2484e67c661f9
BLAKE2b-256 96b5eb9bae03c0dcbe7d2cdeb55168faa5c844fe6bb8fc6e4db847b7b8e4f569

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4bb5e27928266c472e3b3637ae56b19d99423fb045ba75abefc7194c0bf5cf82
MD5 4df2b3f1655aff383ce1852374c9a258
BLAKE2b-256 b3491097b26968517864b9e7c2f2f6652d609a5b302dcd6d6a7d0cad5d26f875

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 60a9c8cb2ec2c84cf879921b20beda33fe1434691de8ba08d7251cddfdb3888f
MD5 6f958bf550dfdd22ddfb0873ec05d0bd
BLAKE2b-256 1becc99ba5430c4d1be289c37edd6468b35d93cd1e4bb253f890c54556437e19

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 623d6148c6e5d900ea0f3d027f3ab4d47c6c5624d31db8323ee9a840ff34fd33
MD5 5d80b80bfd18b3a9292c8c0774c9562a
BLAKE2b-256 0ad00342f784e0d01ba91c6c2b2873791e8cdf3e794624493625bb2ba708e161

See more details on using hashes here.

File details

Details for the file Brian2-2.5.2-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for Brian2-2.5.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 a3a14481631a1247be12d42b4f11d8af16a1f963c91f958abeb65b712fe02bed
MD5 219094dae16f57399c01adb898f007b5
BLAKE2b-256 50bce40785ce048244db9bc3c7a015ea75fb1e2e0fa6e2b74eb5b84b920ec106

See more details on using hashes here.

Supported by

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