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.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 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.4.tar.gz (1.6 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.4-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

Brian2-2.5.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

Brian2-2.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

Brian2-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl (1.2 MB view details)

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

Brian2-2.5.4-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

Brian2-2.5.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

Brian2-2.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

Brian2-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl (1.2 MB view details)

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

Brian2-2.5.4-cp39-cp39-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl (1.2 MB view details)

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

File details

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

File metadata

  • Download URL: Brian2-2.5.4.tar.gz
  • Upload date:
  • Size: 1.6 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.4.tar.gz
Algorithm Hash digest
SHA256 5cc5d23b0707f1f2e0cd709c4fe82b8d8c6105db45e07fd5afe4bb278198652c
MD5 22cd1148b058793f7a395aac8b31a5a7
BLAKE2b-256 0b917d2dc966a91c4915fc6d1164103758083808bec7686f6995f09c4986f6c0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1f11c48e22e3d0823c1400bbd82f7f3b8789865947b2819718a3439af126f9fd
MD5 db2ecb6720ac5790138f79ff9c27a08a
BLAKE2b-256 7cf277a4f4b254ba414db413f03a6c366e5934a1861244289205634bb81a1306

See more details on using hashes here.

File details

Details for the file Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.4-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 493495b7df830fb063f2e33cfea4dc5f3b382df2f8851d3450f4ffe9642fd591
MD5 9101ced34bb5c3aa78eed8931610df41
BLAKE2b-256 060e956a511bd32a61a091d6f3157827aee72b37b27dd31d10c0053459a539a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b5edc34bf1a449d575ebed54b10dbd2c99a97e4c10c20c759a1b714f06e1de8
MD5 c8cb80e69429b45f7ab4c20b10e31d90
BLAKE2b-256 74aadca3ae77c40fe8a4ca5066036e664097a256dc25904dece15ff35ca33e19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 74f69f678647e3896f62b52512b8d764203915cdd736f30757c49d3f468842a3
MD5 f5e5cfcec3a2d895234b9cfcd878456e
BLAKE2b-256 1bff8f838be1bc3fd066845d47754d6795c5d8b7e9f5f0c8f04dad646a3c17db

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 be72f724312471e23fea9bd89312bf957ecf631f1e4d47ac1886150838ac06b3
MD5 cc89922c1e50ba552b06cebc978dd827
BLAKE2b-256 50364daa87a846b224a7dd7dfb1cd2c75db559bc10dfcc8316d65699937fcaef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 bb6b1aee9d04f5da1f74a422c3a99d32418d8e4c343e58bd60994e072ae9a518
MD5 ae56a32a25a8fb2642433a19a2ceb55a
BLAKE2b-256 a1bb06490ebf430acf48cfdd1a88b9bff6aaba3e50f1982364996fff68ec2668

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1bd612d54dc5434b36f5836c1c47312c4d49b1d7fc6af5a1dd422b31e4d0ce19
MD5 d9244cbdba68edfac9cf98e065668824
BLAKE2b-256 200484b582c9bb1cafaa39595aa6c5ade7cc6a81862a8602222b031037a30f92

See more details on using hashes here.

File details

Details for the file Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 aa48573a94a0823c8b6b988c372544bf592b8762dd1239e98f12a8328648d503
MD5 741d320cec38e57629793d41cf3744a0
BLAKE2b-256 b2250f6c6fbacf35baa8927b895c1180696a46cc90c5e2d62179c54d69bb4938

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e4cfd9288bed27873fb2ba615c6108519431ecbc6cb974379be4f44a7f29a7ad
MD5 c31d9f9e80f9a87e4681b7b8071d1723
BLAKE2b-256 7fdd7402ec525217ee4069ecf0cd8c1d88a5894783bbaa4e3517d8cd22dc77b2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 692c0d477806c10045076a7d486880773ff76ed3f6220c53c52b53bbedb4ae72
MD5 86a6dcf759c35bf06f20d384f53d7238
BLAKE2b-256 d76d4fbe23423431751ea68a78aadba71c69782b674f3c05760d0bf0431ad39a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fe29cbe88796f11355139dc78b90e2f8693ea40a8330bbad38f68f2567447fa8
MD5 86ae8d68160a2b5ed1f419969709d9ee
BLAKE2b-256 fd39fdf48f84ac12ecc5c07b0c83abd49cc34dbf9ca741f42b967511bd44b84b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2328316a981de0a41c05b5c80cb0bc025ced4700cedf8771b68fcf1a3f356144
MD5 62e38ca8445a0e8a452b522618df2b47
BLAKE2b-256 4701251a34362839bda05b3610ff79291ee1c9bfef540a452eb863847b25492c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.4-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.4-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 deba40d3cbf869ea94534cdc5f1f7c2fd333d1dd777d49090f753c352fe047da
MD5 e3fd5b074e09785d0f94bac7c4f1f482
BLAKE2b-256 642116443d750be3ce6f46b372dd8ccfeb3392570e4cd3c531aa1bced690a174

See more details on using hashes here.

File details

Details for the file Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.4-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d0e64d841ed4bc55ea1df728a0a372130562894031b3860716e730befd91d049
MD5 73079ad73a974206b886109ef44c6791
BLAKE2b-256 40de310dd2b7ddb528466663eb599f7db002856692c8ca0cd75eb89a77018819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7810131b7f95f37cafb7caf4af6782e927395b87934636f5e5daa44666df1dc4
MD5 f9a27a3dda3d0f46b8ec88de68169397
BLAKE2b-256 9235252112c1a778f5e43863dddddc58be13057527b287d8961dac125b80df39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d541b07679739287cfed36361e51f66fe7ddddb28c00bd02e3d613d14305353b
MD5 344f6eefce4934f88a97222d17f90a20
BLAKE2b-256 b4c06a7523a3353c00ef76178722f7c4d12fc3155f16a6540865ad21c6d32c6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 695fb19411849a986a16b54e1cf608c05433dd30fa29cda0b59618e746812e3a
MD5 1126659dd759d7d19a79db9ac1214d31
BLAKE2b-256 ae7e93861077c2ae90c09d67a382c266931234441e724f7b9002d72c1eb051b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.4-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 5ee5e3f069e3a4727dca41d882111fbbb869c84eade5d446f15c4e2c09711d53
MD5 219ba8f25f14db507a1226a9c2837093
BLAKE2b-256 0ae8af1f37dd0aaa560ab8884228709f83b18edfc0d77a9009aca8fa8c0020a8

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