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.dev5.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.dev5-cp310-cp310-win_amd64.whl (960.8 kB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.0.1.post0.dev5-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.dev5-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.dev5-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.dev5-cp39-cp39-win_amd64.whl (960.7 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.0.1.post0.dev5-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.dev5-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.dev5-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.dev5-cp38-cp38-win_amd64.whl (961.2 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.0.1.post0.dev5-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.dev5-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.dev5-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.dev5-cp37-cp37m-win_amd64.whl (958.8 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.0.1.post0.dev5-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.dev5-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.dev5.tar.gz.

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5.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.dev5.tar.gz
Algorithm Hash digest
SHA256 a5728080af83f88427ba6f7ec67fbb703bebd7265c63cf633a09d057f5da08af
MD5 33217fe644e798d784f4bd08ef38a99f
BLAKE2b-256 1551c2d3218f503575f5d2bc14fc5b6316e61266d4cf539d5e52604ed9b7be93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 25a6d16ce4c77264115e74bac8d168dd1ff95615bef9d52ec2c86dd589181f82
MD5 c0bef97d88932bff290981c581bc0a1e
BLAKE2b-256 c5cf71feba3011e634d92512fe5206c87ea6e0dedc38218353687b61d8575429

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d47f2a83e5729458859f99751d83972c1daf01954d3ea42cd8b7c0cdea019bd2
MD5 15f9a4acd7e3490a2a3a47059a65009a
BLAKE2b-256 a5f1da5043e425137a03123f039350738be1c8bb0d876a83f30761451b6f4dd8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 76e99a4275d2e10c19075acd56c877a3576467a7824811e90c48c670c950b646
MD5 230d3b2bcf9b0097f9681d9f80a8662a
BLAKE2b-256 cf9a8f8b4aa4579e504afd49c25decd6f3b1cf1ce1bdc7254bb126644ba1ebf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bd0ebf0d2f17b08776e9caae11d822b227ee4b10cbef88a3b03ab4ccc2cd94f3
MD5 0b60a2de64c215d3ac337580071ba35c
BLAKE2b-256 9a01c7d6776e87cf385829913e24dea4ed7803d456c3815f3b794b363ca38cd6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 70430177212361b740d78c01bdaf3568d5f2b8b686234a427827bd927b6b4274
MD5 a64561b9ed2ae03f7d39625027e46e0e
BLAKE2b-256 778e78cc19a6a12995beffa8a3f937bb9283ea6fdc9749f0d4177dab42c137ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 257fb4cf2413ba5dea98aa55203aeab6f583f2a1e36b4106ff5300764869f14e
MD5 8ed5e61ddc4d3daa3332ae2eac66ecfd
BLAKE2b-256 04b694adeec3006f64fe78ed71cfc64769f77e8481e595c56b842036f9ec8675

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fdf430da995fdb9c889e756acd1e257bb6486362ca7b318d37c549fe0dcce96b
MD5 ebd3f559ef60066a5f1f614458ffc34a
BLAKE2b-256 5962dfff6ebe0af9d03ea10a76d24a2891d33d0307a6f37f2d181c24f258e6fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 c43aca9d4d1cfb0d4a9a5eed9d5cdf56192a5cc2a4a170bde80b75fb7981c173
MD5 cbe538a12d57eb60b68af23878423067
BLAKE2b-256 0e527e857a292f5d5b6da84e8c9e50cd43f45433d31e09199c34aabd03ba491b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c83145b0c1b563e98fa91d0ddcfafc8063a8fde8ad93aeec169c05dd81decba0
MD5 74018a69c22369914f8e14850c48e9d8
BLAKE2b-256 7b51b12a5b51084070724e04b9e69af3b697f23545a5036c76c9a7d0df0d9d06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cba9e3abdb9baa1957f79992932a12648ab78259221dcfa310162c702a507b94
MD5 16c85ea488784d0392f39ae71a0eebcc
BLAKE2b-256 82fb643fbe22a33d800338130946e633316fc24fd36071f84b38d1e24c2386d5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 415f0ac89834a074aafa66af448d54ba3afbf6f5fd6c99403d6b1df4e9beaadb
MD5 af7f1d05ee5ad80211c0dbb4e4fbfa6f
BLAKE2b-256 c712b0c01a7765343300958c574dbc8d64fdf5c7cb6f246fe922ea06561a0117

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3cb213468970a6834ba3ae1402407c43fb2755f05d4412b5a7b3e049efe9850b
MD5 80c4599333b712da8dee623c33d9ef2e
BLAKE2b-256 a00275f5e3f53fa01d4a545c4009a7c58d132e17843b30066652c35e64b98928

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aed9d26408941d2f70e79cfc75709ccaa47f820de05e81eeadaa099dcd320cf8
MD5 46c7f20d5406f0d13c8e3cf822a61b09
BLAKE2b-256 a02a1701079001c8e8b9eefbcdc772546e8e523c789a39831653fee9b6caac7d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.1.post0.dev5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 32ecf0124f07f33ae18a9d85c269bbc9cca10957d590012c6feacc2d9a86f188
MD5 867757756a343a405877f1116ddba4e1
BLAKE2b-256 c2ee3498a9d587ed80d924e220629e226951781ef4e09fd308309d0c3713111f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.1.post0.dev5-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.dev5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a7e21200a71b1bd9a5ba6381d0f762c6c903f6c7ae95d35fa5665122b3ea8419
MD5 ceed907fd0ff24748a2287a7ecea2afc
BLAKE2b-256 0dac888055306f28a58806124bc26f1ff16920945581fdeea66c1b32017b18aa

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