PyRates - A Python Framework for Rate-Based Neural Simulations
Richard GastiD, Daniel Rose, Christoph J. SalomoniD, Harald E. MölleriD, Nikolaus WeiskopfiD, Thomas R. KnöscheiD
Abstract
In neuroscience, computational modeling has become an important source of insight into brain states and dynamics. A basic requirement for computational modeling studies is the availability of efficient software for setting up models and performing numerical simulations. While many such tools exist for different families of neural models, there is a lack of tools allowing for both a generic model definition and efficiently parallelized simulations. In this work, we present PyRates, a Python framework that provides the means to build a large variety of neural models as a graph. PyRates provides intuitive access to and modification of all mathematical operators in a graph, thus allowing for a highly generic model definition. For computational efficiency and parallelization, the model graph is translated into a tensorflow-based compute graph. Using the example of two different neural models belonging to the family of rate-based population models, we explain the mathematical formalism, software structure and user interfaces of PyRates. We then show via numerical simulations that the behavior shown by the model implementations in PyRates is consistent with the literature. Finally, we demonstrate the computational capacities and scalability of PyRates via a number of benchmark simulations of neural networks differing in size and connectivity.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 21
- FWCI
- 1.31
- Field percentile
- top 21%
- 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
- 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
- Towards a general framework for modeling large-scale biophysical neuronal networks: a full-scale computational model of the rat dentate gyrus
Ivan Raikov, Aaron D. Milstein, … Iván Soltész·bioRxiv·Nov 2, 2021
- SimTracker tool and code template to design, manage and analyze neural network model simulations in parallel NEURON
Marianne J. Bezaire, Ivan Raikov, … Iván Soltész·bioRxiv·Oct 19, 2016
- NFTsim: Theory and Simulation of Multiscale Neural Field Dynamics
Paula Sanz‐Leon, Peter A. Robinson, … Xuelong Zhao·PLoS Computational BiologyPeer-reviewed·Aug 22, 2018
- Brian 2: an intuitive and efficient neural simulator
Marcel Stimberg, Romain Brette, Dan F. M. Goodman·eLifePeer-reviewed·Aug 20, 2019
- BraiNN: A Modern Simulator for Clinically Feasible Personalized Whole-Brain Network Modeling
Alessandro Fasse, Chiara Billi, … Esra Neufeld·bioRxiv·Jul 13, 2026