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

Uploaded CPython 3.10Windows x86-64

Brian2-2.5.0.2-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.2-cp310-cp310-macosx_10_9_x86_64.whl (960.4 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

Brian2-2.5.0.2-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.2-cp39-cp39-win_amd64.whl (960.5 kB view details)

Uploaded CPython 3.9Windows x86-64

Brian2-2.5.0.2-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.2-cp39-cp39-macosx_10_9_x86_64.whl (960.4 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

Brian2-2.5.0.2-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.2-cp38-cp38-win_amd64.whl (961.0 kB view details)

Uploaded CPython 3.8Windows x86-64

Brian2-2.5.0.2-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.2-cp38-cp38-macosx_10_9_x86_64.whl (958.4 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

Brian2-2.5.0.2-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.2-cp37-cp37m-win_amd64.whl (958.7 kB view details)

Uploaded CPython 3.7mWindows x86-64

Brian2-2.5.0.2-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.2-cp37-cp37m-macosx_10_9_x86_64.whl (958.4 kB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.0.2.tar.gz
Algorithm Hash digest
SHA256 70e6f88fb26f04ccafb91e0a29999774e45899771357aff7043951c853919a0f
MD5 54576f611fb2a07ac88ec79cca7106b0
BLAKE2b-256 a1c5f090582e66c27e56a982ecca8ba4850948daa4b3f14bef48cfa0951b25ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 960.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Brian2-2.5.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 636a8b4a1581aa5063b1dd727fa4e098d94de98f5e5a9fd4f858007441bdad20
MD5 00f0f41ca6051acf87e54c3196d324ae
BLAKE2b-256 0ea4021290dd7688d64a9553bbdff7004e8e615e20e36f5aa73148d101cda6e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d6ddc66df287dad26d5fc67102819e4d07015a93f1a5f5cb161a9db321ed06cd
MD5 40ff177f59aa6cdcae594de341b0fc55
BLAKE2b-256 2ad9cda9ac3666d5eefa18446b8dfd1f8541ada6139129e2eb8950f93ee9687f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.0.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 79fd7575320f66eebec83d7a6e4aeb061cacd1762d3b76126ff27a50f992b24d
MD5 912d89b567850993e4443e3a988efb68
BLAKE2b-256 a7c989fc8f60ff886fc809470d65344c7e3d1028116c5f3d7468bfa7e5ff5ee6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-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.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.2-cp310-cp310-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 727b0e5b2d8631b64ff758ad11baa2eff77a12ba4caff484ee01b5e0e75a8184
MD5 c31865f6058a1d02cf926bd29400fc07
BLAKE2b-256 981be760b5abc326221162ee754b9431a788b953bcff199f75558140178b9dd9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 960.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Brian2-2.5.0.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 10d97c86e26ed645064ae0eca38c1114e86677863d59bb1628fb10fc1cd15d54
MD5 fa3db48e02b9d2b3458646cb5fcab3d3
BLAKE2b-256 a2c4b0aace5e3444bfb8b9909896b041e994f21cd02af4eed03321de4505d417

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fbe71d4a8b1de3ce55af09fd3e19937e04825b937b525ad8a7777b5a80bff1a
MD5 b1da897186935a7c9d639d20d041ea05
BLAKE2b-256 2e4dda361814facb2297ed60e8ddacff12ab54b81146dec0c57d1802837a8f43

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.0.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8b34be796c4faa0ed3cde89653d1d93d4508716bb9a0f88c6a943c3355be3862
MD5 db04fa16941df52730b47da5218e9e2b
BLAKE2b-256 8ef1bce90cf73237031b438539efa6f26205394303bdf9fb414335a2b7b8e256

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-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.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.2-cp39-cp39-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 edfbfba800c89797e64798db21db7335420d54dd0aa93c08d4b8c57665f7b20b
MD5 9384c7de23d4b9ece83715b994478e5c
BLAKE2b-256 bcff7aa94829081806323b2764f50f826250be4c5cb47f341091f6443b5836d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 961.0 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Brian2-2.5.0.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2a9664074776c0fe4a4f091ad9cca0fd07315c326620fee264fab1462f54b11e
MD5 3b64605d7582292037f84dd73ae1734e
BLAKE2b-256 939523f155c659e22724f579000fee708c64074d7cef3c7b2ab3b3becf9b26bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a8608a623624868b3ed4f614ba050c361efd48003af59ef9bc5a789ca245c610
MD5 ef02feb9c7bb6e9c7e9f077a2dabe285
BLAKE2b-256 70ff1b4b36b7d9591d04cf0b7d68cf76415221db88f467d7d1917c8d3a68aa39

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.0.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 254f3aff0bbce153e91ab4cd0f979fd8610c544e55eafdf08ff4e077290be342
MD5 c56030a4763e39387a448e593085a8a0
BLAKE2b-256 dd5618783613bf5d9b482295d376464edf8cf9f091c69d8e2553f94119534484

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-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.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for Brian2-2.5.0.2-cp38-cp38-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 29d1572a9e44a2fdb445b66e82d80ec90ba264d098a2e8546ad5e544fd37afff
MD5 0e8522832649335604dd6f5419bbd0e7
BLAKE2b-256 e21eb0ee49950c9afc645f7f5e40ec50f70f200ad433dff9cfc966de7f0a7302

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Brian2-2.5.0.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 958.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for Brian2-2.5.0.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 34fc351e637466c9ee77eb38dab6890c8fdb9226d306a52d9f84f4792c9a9639
MD5 9dbb28a06d81e83385183370aa4db032
BLAKE2b-256 660d1eb6bee78bb60c9d3c3bd404f3a4975605303755cd27a94aac4432a95aba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Brian2-2.5.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fc080d2ced3ab417303f68ac4ee0edd6f3c7a80040accf1295bce4f8f6f3a0d
MD5 80b137efc1df1df04da2c4582418a637
BLAKE2b-256 87be083d53f057d864d85ee75d28502a5967fb88a6e261609d1780473377a9c9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for Brian2-2.5.0.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d6c3a3a187030480ea0c6fd550903fbb29be27b4027cc391d1b04757ef1a5cfc
MD5 99f6100e2bee8c142ef634fd286b5cb4
BLAKE2b-256 7f8de3a798e78d3757500f22df06522f51f8ceab41935a9062e3e9255b51647d

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