Skip to main content

Enabling Event-driven Computation in Brain Dynamics

Supported Python Version LICENSE Documentation Status PyPI version Continuous Integration PyPI Downloads

Brain is characterized by the discrete spiking events, which are the fundamental units of computation in the brain.

BrainEvent provides a set of data structures and algorithms for such event-driven computation, which can be used to model the brain dynamics in a more efficient and biologically plausible way.

Particularly, it provides the following class to represent binary events in the brain:

  • EventArray: representing array with a vector/matrix of events.

Furthermore, it implements the following commonly used data structures for event-driven computation of the above class:

  • COO: a sparse matrix in COO format for sparse and event-driven computation.
  • CSR: a sparse matrix in CSR format for sparse and event-driven computation.
  • CSC: a sparse matrix in CSC format for sparse and event-driven computation.
  • BlockCSR: a block sparse matrix in CSR format for sparse and event-driven computation.
  • BlockELL: a block sparse matrix in ELL format for sparse and event-driven computation.
  • JITC_CSR: a just-in-time connectivity sparse matrix in CSR format for sparse and event-driven computation.
  • JITC_CSC: a just-in-time connectivity sparse matrix in CSC format for sparse and event-driven computation.
  • FixedPreNumConn: a fixed number of pre-synaptic connections for sparse and event-driven computation.
  • FixedPostNumConn: a fixed number of post-synaptic connections for sparse and event-driven computation.
  • ...

BrainEvent is fully compatible with physical units and unit-aware computations provided in BrainUnit.

Installation

You can install brainevent via pip:

pip install brainevent --upgrade

Documentation

The official documentation is hosted on Read the Docs: https://brainevent.readthedocs.io/

See also the BDP ecosystem

We are building the Brain Dynamics Programming ecosystem: https://ecosystem-for-brain-dynamics.readthedocs.io/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brainevent-0.0.1.post20250203-py2.py3-none-any.whl (97.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file brainevent-0.0.1.post20250203-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for brainevent-0.0.1.post20250203-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fd0b6691b72db6b2a7d93668fd50718711fc4c9e9750dc1206cdbde268cafee1
MD5 a79ca9bd943ece21ffd718a0fcfb2a97
BLAKE2b-256 07cc37a8b1e64f7bb734049c66bf203184f5f4abc4c3a155a07de2d6b7774687

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.1

2 files

0.2.0

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

This release

0.0.1.post20250203 This release

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page