Whole-brain brain modeling for differentiable neural mass models.
Project description
BrainMass: whole-brain modeling with differentiable neural mass models
BrainMass is a Python library for whole-brain computational modeling using differentiable neural mass models. Built on JAX for high-performance computing, it provides tools for simulating brain dynamics, fitting neural signal data, and training cognitive tasks.
Installation
From PyPI (recommended)
pip install brainmass
From Source
git clone https://github.com/chaobrain/brainmass.git
cd brainmass
pip install -e .
GPU Support
For CUDA support:
pip install brainmass[cuda12]
pip install brainmass[cuda13]
For TPU support:
pip install brainmass[tpu]
Ecosystem
For whole brain modeling ecosystem:
pip install BrainX
# GPU support
pip install BrainX[cuda12]
pip install BrainX[cuda13]
# TPU support
pip install BrainX[tpu]
Citation
If you use BrainMass in your research, please cite:
@software{brainmass,
title={BrainMass: Whole-brain modeling with differentiable neural mass models},
author={BrainMass Developers},
url={https://github.com/chaobrain/brainmass},
version={0.0.4},
year={2025}
}
License
BrainMass is licensed under the Apache License 2.0. See LICENSE for details.
See also the ecosystem
BrainMass is one of our brain simulation ecosystem: https://brainmodeling.readthedocs.io/
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brainmass-0.0.5.tar.gz.
File metadata
- Download URL: brainmass-0.0.5.tar.gz
- Upload date:
- Size: 85.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bda2a80f39f868abaec0b34e7dfdf87f5c5798f72b332edbcbb7b512644bc89
|
|
| MD5 |
d3521624ea163bbad35bb63ae15b1991
|
|
| BLAKE2b-256 |
801e9dc553c26ed91dd0ca1aee1e0254617511c2aeca109b612e963b1e2526c1
|
File details
Details for the file brainmass-0.0.5-py3-none-any.whl.
File metadata
- Download URL: brainmass-0.0.5-py3-none-any.whl
- Upload date:
- Size: 107.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
182a0811d713e0508692a49354761d644dc79d162bdfe7f7f0cbacf0ab40c476
|
|
| MD5 |
1d3c5fecff22ad63d8c9264055754d91
|
|
| BLAKE2b-256 |
ad1385efd22f8e337c967f3896fbf32cd511a14f894fbce87e4e5aa4c3074efb
|