Related Experiment Video
Updated: Jan 1, 2026

Author Spotlight: Advancing Large-Scale Neural Dynamics Through HD-MEA Technology
Published on: March 8, 2024
PyRates-A Python framework for rate-based neural simulations
Richard Gast1,2,3, Daniel Rose3, Christoph Salomon1,4
1MEG and Cortical Networks Group, Max Planck Institute for Human Cognitive and Brain Sciences, Leipzig, Saxony, Germany.
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 rate-based neural models. 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 is translated into a 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 show via numerical simulations that the behavior of the PyRates model implementations 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.
Related Concept Videos
The Integrated Rate Law: The Dependence of Concentration on Time
Rate Law and Reaction Order
For example, in a generic reaction aA + bB ⟶ products, where a and b are stoichiometric coefficients, the rate law can be written as:
rate = k[A]m[B]n
[A] and [B] represent the molar concentrations of reactants, and k is the rate...

