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

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

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.1-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.1-cp310-cp310-macosx_10_9_x86_64.whl (966.4 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.1-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.1-cp39-cp39-win_amd64.whl (966.6 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.1-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.1-cp39-cp39-macosx_10_9_x86_64.whl (966.3 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

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

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

Brian2-2.5.1-cp38-cp38-win_amd64.whl (967.5 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.1-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.1-cp38-cp38-macosx_10_9_x86_64.whl (964.9 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

Brian2-2.5.1-cp38-cp38-macosx_10_9_universal2.whl (1.1 MB view details)

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

Brian2-2.5.1-cp37-cp37m-win_amd64.whl (965.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.1-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.1-cp37-cp37m-macosx_10_9_x86_64.whl (964.9 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.1.tar.gz
Algorithm Hash digest
SHA256 c7511c4bb3c50ac8cf62cab72edf3b489456e09e4313f39f745b3736ec8788bc
MD5 f49609dd82ef77fdf60f541bd83a8864
BLAKE2b-256 747c9ebfc869b8667d1e526ba03054574d675f9b9b5a5e5689e770f0468c5708

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 966.0 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for Brian2-2.5.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5d98fdd759fda2894f1122dba34ed182ba880a69af947fb50fa5da6a6efe2055
MD5 2c8d8d156787764b10ace9aad5e0e9e0
BLAKE2b-256 88d3edfb874af0863398abb22c1ba572b12af623b2233996f1870f896c1ae16e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7fb30fbdfc99ab81dc7b0fc2e8c104713813c560b5ae356038dc5798329e72d
MD5 2b305bed01433be467c402c4a8220ec0
BLAKE2b-256 4d2c0ddea636a76a71f6713aec4209d21503cc9f59aa54ca365a4cf708324944

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d9018fb70b0fcd925d05c17e399b992523673fa16f5d50451dd4b6b88174d49d
MD5 969e7454ffa832f3bbc383c93da95989
BLAKE2b-256 fd6b180d8c5b635563f5d0dc24a2158fa068961093162db02c2e921abe650d86

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 30894ab26fecab9a1d228bf2f7887073ff2cc0516e6b7bad9b90da512acef2e7
MD5 87a53359eeab30145a596ccdd5e2081f
BLAKE2b-256 a7311beae030ae56288ccd19f8de3ce2dbf57a09c349ea141bb335dfaf3ce948

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 966.6 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for Brian2-2.5.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 09628673aef482b9516dd7d342fd9d6e56dd68f880e078fa60df080e30b0e270
MD5 9e5014f8dc9b5825ce311d67270240f2
BLAKE2b-256 d3dc48472eeb90d8fc1dcbe58c39f0f85cbc1d5277599f9f29fc3e2ca092aac5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f08b7d28012d67a8ee177c2d5256d7adc4b88439f5432bf24c140453afc2e0d7
MD5 7cd697cbd29e097d305f32c042e342ce
BLAKE2b-256 f7fb81188a9cba7f2ddfead70ff5cb67207fc384fc0ab86eeb484e95079a6a05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c91fc245ab8aafecb70ee865581daec4eaa6aadbe3dc597c54f058e4de3bc4f8
MD5 1c0a5f43cf53a61c63d08a16f62fa794
BLAKE2b-256 ac84de910c0072d8a16bdb33ea9a63fb69e39a7737bf4dfc6207459eac1d5d38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.1-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 b144f1849e03ef9c33d0596e9ead806023c5cad5f07924020ddc7220c1c56921
MD5 c5cd3684ee43f5c1bf57618031ef97ab
BLAKE2b-256 34a7734ed4db4623d4c40b9af92e551f40db789c8b00b8aa88e1bfc5392fcff6

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 967.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for Brian2-2.5.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b0df49129859167aa221a84758bf020018630d11fac2a2cc48c976ca66d843f4
MD5 851661d5f354df20c863e6aad27c1c31
BLAKE2b-256 7425a9095674c0f97d20abf2de963970a0080392e4f3c33d92e9f38821d06716

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6c9badb8acb799b29b9555344274516318e26c105ef4b345586cd8f2589e4cb
MD5 e4d27e6f3cc510dd5bd4b0f0b6381c62
BLAKE2b-256 4959330283769586a2552fcd479b9d810629b8c2123c178c64275c1722800dec

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0f7896035cda3d4dd7ee27e8a1c9e08998688c2ed990de367670f9f9285f513a
MD5 93c13205f943513c91c4c3c4ff1d343f
BLAKE2b-256 0d134aa1e9aa0bd6765d205511c738122de98507eeffd9ddf001a84d00e1a7dd

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp38-cp38-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for Brian2-2.5.1-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 3df9d8de847851f32ec5afec3daf9827eb3fa1f4620a7a682d895abe188a078d
MD5 6a4f1b3bffa0fc1dd7ef3504b42a9638
BLAKE2b-256 cf563bb1b0b5021090f62ec29fa1e0e3a8cbd35487c9e925e548c22d7bedfa1d

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: Brian2-2.5.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 965.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for Brian2-2.5.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 52007d5a86f01e23c5e2f23d1850eb820203e364efebecfd8dea4fa4d3a7fb21
MD5 e910b7ab2f241aa755fe94c3166dfa86
BLAKE2b-256 497f98fe514ee8c44a737f3f5723aaa2f35899fb8c97ef779ed2e0344dedc23e

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8863e762f3c4956ba23ce3d9ac1651218cee73ec81f51a00d48ecbdedb1d3596
MD5 650f0ab2909b2b0a261c0074ec8d62d7
BLAKE2b-256 91a2dcd612b31c92e65927e1a723d9fb748604df6080e4ff4c0dcc5944420253

See more details on using hashes here.

File details

Details for the file Brian2-2.5.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for Brian2-2.5.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 26fbc9f0d647c9c3fe3d3b5219f7061d8956ba1d74ab11e09de6d6a8b3909c08
MD5 69c23fee1c2a1f396df197e181055a8b
BLAKE2b-256 5c7b1fea399f71b7a45ec640d24ea29c621d0f12ca1926f60b6cbc0b6ff64955

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