Skip to content

Issue with DCSource in Brian when value changing values on the fly #451

Description

@appukuttan-shailesh

The code here attempts to change the values of the DCSource on the fly. The amplitude is 0 for the first 100 ms, and thereafter changed for t > 100 ms. But as the start and stop times are specified less than 100 ms, there should be no effect on the membrane potential. As seen below the output in Brian shows an erroneous value at the transition.

Brian output (incorrect):
brian_bad
NEURON output (correct):
neuron_good

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions