from brian2.equations.equations import check_subexpressions)
check_subexpressions(group, equations, run_namespace)¶
Checks the subexpressions in the equations and raises an error if a subexpression refers to stateful functions without being marked as “constant over dt”.
The group providing the context.
The equations to check.
run_namespace : dict
The run namespace for resolving variables.
- For subexpressions not marked as “constant over dt” that refer to stateful functions.