Enabling Event-driven Computation in Brain Dynamics
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/
Metadata
Release files for brainevent 0.0.1.post20250204
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brainevent-0.0.1.post20250204-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for brainevent-0.0.1.post20250204-py2.py3-none-any.whl |
Release files / brainevent-0.0.1.post20250204-py2.py3-none-any.whl
| Download URL | brainevent-0.0.1.post20250204-py2.py3-none-any.whl |
|---|---|
| Size | 97.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
87fd50fc775104285be493cf6dabc907f773b3e03b2dea37948fa79c75b31efa
|
|
BLAKE2b-256 checksum How to use checksums |
b877d7e28ec1a14b44c708e159f9d97ec9bea0c4c1cfe6c53deda780fbbfa0f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Security for brainevent 0.0.1.post20250204
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.