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

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:

  • Python >= 3.7

  • NumPy >=1.17

  • SymPy >= 1.2

  • Cython >= 0.29

  • PyParsing

  • Jinja2 >= 2.7

  • setuptools >= 21

  • 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.0.1.post0.dev6.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.0.1.post0.dev6-cp310-cp310-win_amd64.whl (960.8 kB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.0.1.post0.dev6-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.0.1.post0.dev6-cp310-cp310-macosx_10_9_x86_64.whl (960.5 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_universal2.whl (1.0 MB view details)

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

Brian2-2.5.0.1.post0.dev6-cp39-cp39-win_amd64.whl (960.7 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.0.1.post0.dev6-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.0.1.post0.dev6-cp39-cp39-macosx_10_9_x86_64.whl (960.5 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_universal2.whl (1.0 MB view details)

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

Brian2-2.5.0.1.post0.dev6-cp38-cp38-win_amd64.whl (961.2 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.0.1.post0.dev6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_x86_64.whl (958.6 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_universal2.whl (1.0 MB view details)

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

Brian2-2.5.0.1.post0.dev6-cp37-cp37m-win_amd64.whl (958.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.0.1.post0.dev6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

Brian2-2.5.0.1.post0.dev6-cp37-cp37m-macosx_10_9_x86_64.whl (958.5 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

Details for the file Brian2-2.5.0.1.post0.dev6.tar.gz.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6.tar.gz
Algorithm Hash digest
SHA256 030056fa666cc87079c2f3e40922a2a0902f4435fd1f2cf52d52b229935dc1d4
MD5 66914ae1658b1de60846f3edcb757edf
BLAKE2b-256 523b25217d27385b05f39050e6a72a1bfafbb363098e0d12a8814deb01770c28

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 960.8 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 14658a9689a903b2134fcf5a837b56f410d63cb08013a91b04e358add69f203d
MD5 ed9d0a1e26c96423c9b8113f209a8977
BLAKE2b-256 5fcdb10aafada2729e03d701216c5a32eaa049ef844818b69faf189fb971bf3e

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a9c171eb7192c2fd2e9ee8480279d61b0e834f8dfd7760875d09b438beb0a3e
MD5 2a6e032c4cdbd3bcc47def2c28f0da58
BLAKE2b-256 a117fdf0cbb79c8ee33074c54b4d082c26f13cb3963015aef4158d7b5a456e54

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.5 kB
  • Tags: CPython 3.10, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1ffaa5c41374d483a9a69bec651fa92531cac95b742714ca8d848f1b3f1946d5
MD5 6673d9d4c622503eaa2740d0fbc1bac7
BLAKE2b-256 166b7d2981c49c75c832ee94cfa4228d165a3c6c5247b6791588eea81749a87e

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 e2e87a1525eff6631e39b7da3f65d3c57c262314f9f76c9404eb083335bac548
MD5 534d9fa0fcc45c65a279fdfe8fb4e7e6
BLAKE2b-256 6334265d9d9440b8502444297a690d72a093b5a2ff17813a7642fabd58dd953c

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 960.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2baf9dc14f79c275cccafbee13c483c8f111d9bde9358531168b6e3d2077e806
MD5 83b00bd381d3d0f21c48641cbd856dc3
BLAKE2b-256 bb464198222553a822a3eb0638c290f0c2b6d322e4098344463792d3bd85b6d6

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0e9cbe0c0df6470d205710f5a3c9a6f13d7ed704ed3db85169191e325a6a68dd
MD5 96ea704b9df00756897be62db8d79c00
BLAKE2b-256 1330a5d15e48a9dfb61ecf100a2c838dbb8986b19a0a45e77fc9f8df8fc3aac2

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 960.5 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 130bcb882fee2edb16bcf0d32dc77f73c5a278b105d8b91fe9c6cfe5aec31c25
MD5 2bb0d8665362ed481e16323989b10a71
BLAKE2b-256 51d224e7549cfb28abccaae961d60f9fc608a4998d54af75b0f997087df5e208

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.9, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 f43aeb0ba5489a96d4d11545e82160cf36f5650490f28394f49681c37087d321
MD5 47bc547ecfe3c4e54e2fb8a79b59993e
BLAKE2b-256 0c2ff0080a42f342e524c79ce6df1a3325daf0d0a241d69cf42410c536c31a24

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 961.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 74002d5b914e094828abcc10dbdbf1f8b1cbb03ec724eababe4455756b2714b7
MD5 c0799f535be7cb6695bf8acaab62d2f8
BLAKE2b-256 dfaa7773f56a86d4ef5896857dc1d2b8324c03f95b7fafc2876c5b71b78b5c89

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 30d40f7907c24b5b53a16ab727451e05f48103cb1b1842744f4adf3e47888a14
MD5 4a707cbaab9ae1d3a1ad6c54b11ceb6d
BLAKE2b-256 2b6d84ae04aee697d8cf6aa787d9530a8fc2401ed19ae61cbd7ea5245c771470

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.6 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e550a001bac48767b2ccbd90bd6ddcc3962fa6cc04a833c0deeb0f7cbb20907f
MD5 1d930851dd9988609f4e825f8f82a86e
BLAKE2b-256 2fbb6574ac64dfa1111e8443a19ca351cca824b3ed21e239fbdd53684ba263bc

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.8, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 211fcb1c59efe2b302ef5b2a9d3be7e5bb16df70da36cc9379531471b17de374
MD5 b70259bb29938509a22271422927dcb3
BLAKE2b-256 e7512004202e853b4d0d4a438dcae72703e11f90fffd72d2c8cf56571c153524

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 958.8 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 1a013e28c70c71b517d27dc41c2c998125c9930ebabf693218e2e4765155d7b3
MD5 f9f955fc3cbb1e9cdc75a72c92a131e2
BLAKE2b-256 e3c9fab5e3adc8bc0d7533482ea9a8f8296eced1a0eea415748eb94ad3c04d19

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a5ec02ffa75a9c83decee726df5dda297ba09c7c7988fb159553347fb0f9b87
MD5 feed19b44f4b844feaacbf20615eb48b
BLAKE2b-256 5ee9a746c2a6fbd0597ac29e70fe9f743dd05b868794e8a70aecef39fb39ab27

See more details on using hashes here.

File details

Details for the file Brian2-2.5.0.1.post0.dev6-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev6-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 958.5 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.1.post0.dev6-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 eb402635d55230ad91d7c565987819322f9a8dc58acd56a50cf239568ee527dd
MD5 eb10e094f245f5250711db63965f938c
BLAKE2b-256 173f808ea84dc6ab06944cc2c2fde8f6fc5345e78b17bdfbcde6215c27c52232

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