Skip to content

Handling of += expressions by Equations() #1219

@smalltimer

Description

@smalltimer

Hi,

While defining equations using Equations() can be very useful when defining models which can then be fine-tuned by substituting variables or values, this method does not seem to work for on_pre and on_post events. If there is a variable which is only used during the events, it will not feature in the model equation (or can be included there as a declaration like 'x : 1'). However, such a declaration cannot be substituted using Equations(), thus limiting the use of Equations() in on_pre and on_post to define flexible models which can be adjusted for various synaptic groups.

Any workarounds/tips would be really helpful. I am not sure if this is strictly an issue, but I think it does limit the use of the very handy Equations() structure.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions