Open-source, graph-based Python code generator and analysis toolbox for dynamical systems (pre-implemented and custom models). Most pre-implemented models belong to the family of neural population models.
GPL-3.0 License
Bot releases are hidden (Show)
Published by Richert 4 months ago
CircuitTemplate.clear()
calls to not clear all attributes on a CircuitTemplate
instace, causing issues with multiple calls of CircuitTemplate.get_run_func
numpy.f2py
module for generating a modulate that can be imported into python from a fortran fileComputeGraph
class of computegraph.py that caused function names to not be updated properly for backend-specific function definitionsPublished by Richert 7 months ago
maxi
and mini
in the equations. Both functions take two input arguments, and return the larger/smaller one, respectivelyPublished by Richert 11 months ago
adaptive
to the CircuitTemplate.get_run_func
method, which allows to indicate whether the generated equation file is expected to be called with an adaptive step-size solver (adaptive=True
) or notCircuitIR
instantiationPublished by Richert about 1 year ago
Published by Richert over 1 year ago
CircuitTemplate
that allow to remember the state of all network variables from a previous simulation, even if a new backend is chosen for function generation or more simulationsPublished by Richert over 1 year ago
grid_search
functionvectorization
of the function grid_search
to vectorize
, to be consistent with the naming of the same argument in CircuitTemplate.run
CircuitTemplate.add_edges_from_matrix
method to allow for edges that connect separate network nodesPublished by Richert over 1 year ago
This official release is a combination of all the bug fixes and improvements in the
pre 1.0 versions up to v0.17.4.
It establishes PyRates as a code-generation tool for dynamical systems modeling
with a flexible, intuitive, and well organized language for model definition.
At this stage, PyRates comes with support for ordinary and delayed differential equations and can
generate vector-field evaluation functions for any ODE/DDE system for each of the following backends:
Minor improvements since 0.17.4:
Published by Richert over 1 year ago
Published by Richert about 2 years ago
template_specification.rst
Published by Richert about 2 years ago
CircuitTemplate.get_run_func
, respectively, now use the frontend variable names instead of the backend variable namesCircuitIR.get_frontend_varname
that returns the frontend variable name given a backend variable namePublished by Richert about 2 years ago
Published by Richert about 2 years ago
__getitem__
methods on all frontend template classes that allow for a less convoluted examination of the major properties of the template classesCircuitTemplate
, each operator on NodeTemplate
and EdgeTemplate
, and each variable on OperatorTemplate
Published by Richert about 2 years ago
grid-search
returns: Each different parameterization of the model appears only once in the param_grid.index
and the results
DataFrame uses a full hierarchical column organization.CircuitTemplate.run
uses a fully hierarchical column organization now: Every node hierarchy level is a separate level in the column index hierarchy.numpy.ndarray
variables where the shape
attribute was an empty tuplePublished by Richert about 2 years ago
dy
but instead just create a new variable. This is relevant for gradient-based optimization.ComputeGraph
add_import
to the backend that allows adding import statements to the top of a function fileconcatenate
that can be used in equation strings now in order to combine vectorized variablesclear_frontend_caches
did not clear all IR caches properlyPublished by Richert about 2 years ago
CircuitTemplate.get_run_func
CircuitTemplate.get_var
that allows users to access backend variables after calling CircuitTemplate.get_run_func
CircuitTemplate.update_var
, thus allowing to update vectorized variables in one goCircuitTemplate.add_edges_from_matrix
such that only edges with non-zero weights are added to the CircuitTemplate
instancePublished by Richert about 2 years ago
ComputeGraph.to_func()
now returns the keys of the function arguments together with the arguments (tuple of size 3 is the new return value)CircuitTemplate.get_variable_positions
that allows to get the indices of state variables within the system state vectorPublished by Richert over 2 years ago
Updated changelog to account for changes between v0.14.0 and v0.14.1
Published by Richert over 2 years ago
Published by Richert over 2 years ago
Published by Richert over 2 years ago
past(y, tau)
is now available for any backend that allows to evaluate a state variable y
at time t-tau
past
callsddeint
via a DDE system generated by PyRatesDifferentialEquations.jl