BrainPy: a flexible, integrative, efficient, and extensible framework towards general-purpose brain dynamics programming
Chaoming WangiD, Tianqiu Zhang, Xiaoyu CheniD, Sichao HeiD, Shangyang LiiD, Si WuiD
Abstract
The neural mechanisms underlying brain functions are extremely complicated. Brain dynamics modeling is an indispensable tool for elucidating these mechanisms by modeling the dynamics of the neural circuits that execute brain functions. To ease and facilitate brain dynamics modeling, a general-purpose programming framework is needed to enable users to freely define neural models across multiple scales; efficiently simulate, train, and analyze model dynamics; and conveniently extend new modeling approaches. By utilizing the advanced just-in-time (JIT) compilation, we developed BrainPy. BrainPy provides a rich infrastructure tailored for brain dynamics programming, which supports an integrated platform for brain dynamics model building, simulation, training, and analysis. Models in BrainPy can be JIT compiled into binary instructions for multiple devices (including CPU, GPU, and TPU) to achieve a high running performance comparable to native C or CUDA. Moreover, BrainPy features an extensible architecture allowing easy expansion of new infrastructure, utilities, and machine learning approaches.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 51
- FWCI
- 7.62
- Field percentile
- top 1%
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- osl-dynamics: A toolbox for modelling fast dynamic brain activity
Chetan Gohil, Ruobing Huang, … Mark W. Woolrich·bioRxiv·Aug 7, 2023
- BraiNN: A Modern Simulator for Clinically Feasible Personalized Whole-Brain Network Modeling
Alessandro Fasse, Chiara Billi, … Esra Neufeld·bioRxiv·Jul 13, 2026
- The Brain Dynamics Toolbox for Matlab
Stewart Heitmann, Matthew J. Aburn, Michael J Breakspear·NeurocomputingPeer-reviewed·Jun 28, 2018
- Brian 2: an intuitive and efficient neural simulator
Marcel Stimberg, Romain Brette, Dan F. M. Goodman·eLifePeer-reviewed·Aug 20, 2019
- NetPyNE: a tool for data-driven multiscale modeling of brain circuits
Salvador Durá-Bernal, Benjamin A. Suter, … William W. Lytton·eLifePeer-reviewed·Apr 26, 2019
- PyRates - A Python Framework for Rate-Based Neural Simulations
Richard Gast, Daniel Rose, … Thomas R. Knösche·PLoS ONEPeer-reviewed·Dec 16, 2019