SingleEquation class

(Shortest import: from brian2.equations.equations import SingleEquation)

class brian2.equations.equations.SingleEquation(type, varname, dimensions, var_type='float', expr=None, flags=None)[source]

Bases: Hashable, CacheKey

Class for internal use, encapsulates a single equation or parameter.

Note

This class should never be used directly, it is only useful as part of the Equations class.

Attributes

identifiers

All identifiers in the RHS of this equation.

stochastic_variables

Stochastic variables in the RHS of this equation

unit

The Unit of this equation.

Details

identifiers

All identifiers in the RHS of this equation.

stochastic_variables

Stochastic variables in the RHS of this equation

unit

The Unit of this equation.