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.3.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.3-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

Brian2-2.5.3-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.3-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.3-cp311-cp311-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

Brian2-2.5.3-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.3-cp310-cp310-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.3-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.3-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.3-cp310-cp310-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.3-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.3-cp39-cp39-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.3-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.3-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.3-cp39-cp39-macosx_10_9_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.3-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.3.tar.gz.

File metadata

  • Download URL: Brian2-2.5.3.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.3.tar.gz
Algorithm Hash digest
SHA256 522204a1ee87529e73fae7ec033aa6776ba5c246a1c046e99d97301861aac52c
MD5 785b69912516620a356a2e866fc9327d
BLAKE2b-256 f653fb1c7c7457c51da448b764cc836f486c8b5ee983e6ec498be459f344ce0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.3-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.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e3d8015efd6088899c5cd8540ef87e9f5773bacefb3500835a730e3c3d0c1251
MD5 4a0b7d8605efb3950fb7ad24e97b63ec
BLAKE2b-256 921b85797bd4931ba9b7c465f2ac513ff7695f0fa53974a2a52abbe63606db0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b51e2b4fa7ddb9e0f02366d656195b3143708a72d5c7213c23c03a5a3b843b28
MD5 a4f7cbf3b3e932dbce906924dbd7bf26
BLAKE2b-256 c2dab173ff05b1ddcfc966e6169822bf804794bb4ed0f83b038dc94d2d48e469

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2f16dcbe1c4a002eec93077a78cabbaac9bb4a999a29472a2ce18cff96144c80
MD5 2183b6ec371f49dcc01148437bbe46ae
BLAKE2b-256 8e5ddd05237411b551d44d7ccf3f1cf88b6aa99a047e39140083884c69a61909

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 08fae23a9ed3aa185e6153c1bb130a52268c145d87f942da41f6b73b9b65818a
MD5 a86a1d2f4769b986fef1115e147f527f
BLAKE2b-256 591559f128659dcd331cd6baf58d27ca584e6d333e8eb033b21b48fdc369e1b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp311-cp311-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 67dcf02e4bc9094d2aad16cd6ab1034a1e61db50649072819522f5ef1fde359c
MD5 c7675625d6e9514c29902d8a4bd2cb95
BLAKE2b-256 f6e8e9548bd4816df7dab3a7d48551e606deb716e0fbbb00ca2c0726597541b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.3-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.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3836a43827e4fef95f99c94dd72de6bece36d47cc39720f5185ed99335bf01d9
MD5 f68df52ae75b454552213dcaf8885fe0
BLAKE2b-256 fd792828284dbc386286cf2b208ba8fa4a7eceda6314cd73b21190c1438f0370

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e611d4e44bc9527fdeb26e9fcee5809360248fed0bd9d6d9c38819e2c142e9d6
MD5 2357f3481ce3b78ced65171f5e25e723
BLAKE2b-256 0ae284a3566e56fd0c77dbfc0b3e241aff0c609da2f546a36b531da633d444a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5d8710c6748973f56b382b907affcf10d98665856a4d7d62751f5d9b8dde0d38
MD5 47786de74ee85dea32b97dbcd37277b0
BLAKE2b-256 da1f08d91d2285aa6f2da1a53b8bad29d724ba590a5cbf960a3e5d2740f4edbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d6b9c568f5c76ae1eec6f07f4002f3d68154a215433ed7827a2327ca8c89cc0c
MD5 cb2a5fc3a757712b897beaf92a371127
BLAKE2b-256 83064f168975557d5e14a829872155dec2dc2f6f49e178a59009a2833d57c437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 78037610df14e69b8f91202a063dde5dc3356c3ec92d83632d87fe1a45757f2c
MD5 fd41e059d9e9c369d79c9dae5e23a5f8
BLAKE2b-256 06271ca7fd90d1c63eb1f35583218d038b73a68b0ffa82b81f6fc36bd961bea8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.3-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.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 be839e9c6bc0940a7058493078258cace553e0d2817a109268a7b5c134166396
MD5 eefe8490af961023aa229bf380754653
BLAKE2b-256 9581b1f60841d2e1820011c42361765c5c499439be3906add343471c9733c044

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef93a4207edb2d53220477b94d44234dc66882b55c20e6d3a774f630202a399e
MD5 7d6847ebd0297c167ddb2931c174654c
BLAKE2b-256 47c8ad0e461d419e9cbc9650315fd9dc6f82309005a6bb1625f23d40bf512ad1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 73ed7c4346f9ab445001ce23b4598b5a7ff639c7fff3125dec7973cd8d594d4d
MD5 fad60ece9266e4a3e466f2cb344dbeaa
BLAKE2b-256 1c7c8beb492b1759fd512d0c806833331862cf701cc21bbdf10d75fbf6b6965a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c831bfe4c670c5dd51250c12a4e7bca4e29fa47f0655a3c488eeb4e9e9d861f
MD5 a3bb1a00b157cc002abd9b3d2edde484
BLAKE2b-256 786ac0c58eecd30aaf053575205a9adfa62e1c441d0d829395b8fdb124535345

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.3-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 94315abb87e4beae995975ce7f83bef8d5f8317e9ba9747c077e3b02be50e47f
MD5 a43353718972fcd89d463adfdba86cd3
BLAKE2b-256 f68aef12c403f9067343a751bd10e0d83cf89446453fda1f36da410e8a946f14

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