https://github.com/chaobrain/brainmass
Whole-brain modeling with differentiable neural mass models.
https://github.com/chaobrain/brainmass
Last synced: 5 months ago
JSON representation
Whole-brain modeling with differentiable neural mass models.
- Host: GitHub
- URL: https://github.com/chaobrain/brainmass
- Owner: chaobrain
- License: apache-2.0
- Created: 2025-09-03T09:06:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2026-01-23T09:37:16.000Z (6 months ago)
- Last Synced: 2026-01-23T22:57:34.015Z (6 months ago)
- Language: Python
- Homepage: https://brainmass.readthedocs.io/
- Size: 24.2 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# BrainMass: whole-brain modeling with differentiable neural mass models
[](https://opensource.org/licenses/Apache-2.0)
[](https://pypi.org/project/brainmass/)
[](https://pypi.org/project/brainmass/)
[](https://github.com/chaobrain/brainmass/actions/workflows/CI.yml)
[](https://www.python.org/downloads/)
[](https://brainmass.readthedocs.io/)
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)
```bash
pip install brainmass
```
### From Source
```bash
git clone https://github.com/chaobrain/brainmass.git
cd brainmass
pip install -e .
```
### GPU Support
For CUDA support:
```bash
pip install brainmass[cuda12]
pip install brainmass[cuda13]
```
For TPU support:
```bash
pip install brainmass[tpu]
```
### Ecosystem
For whole brain modeling ecosystem:
```bash
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:
```bibtex
@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](LICENSE) for details.
## See also the ecosystem
[BrainMass](https://github.com/chaobrain/brainmass) is one of our brain simulation ecosystem: https://brainmodeling.readthedocs.io/