Developer Guide#
Welcome to the brainmass developer documentation! This guide helps you contribute to the project.
Getting Started#
How to contribute code, docs, or examples
Package design and organization
Build custom neural mass models
Testing guidelines and practices
Extending brainmass#
These guides document the stable extension contracts — the public APIs you build custom pieces against, so they slot into the orchestration layer (and future data-driven tooling) exactly like the built-ins.
The extension playbook: trainable params → custom loss → Fitter / training loop → vmap
Implement custom noise processes
Implement a new network coupling (prefetch/delay contract)
Write a composable loss that works across all Fitter backends
Quick Start for Contributors#
Fork and Clone:
git clone https://github.com/YOUR_USERNAME/brainmass.git cd brainmass
Install Development Dependencies:
pip install -e .[dev,doc]
Create a Branch:
git checkout -b feature/my-new-feature
Make Changes and Test:
pytest brainmass/ make -C docs html
Submit Pull Request:
Push your branch and open a PR on GitHub
Project Links#
Code of Conduct#
We are committed to providing a welcoming and inclusive environment. Please be respectful and professional in all interactions.
Key principles:
Be kind and courteous
Respect differing opinions
Focus on constructive feedback
Assume good intentions
Getting Help#
Questions: Open a discussion on GitHub
Bugs: Report issues on GitHub
Feature requests: Open an issue with the “enhancement” label
Chat: Join our community (link TBD)
See Also#
Tutorials - User tutorials
API Reference - API reference
Gallery - Example gallery