-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check NEST initialization of state/parameters/internals #982
Comments
Including the relevant report from @tomtetzlaff here about the ignore_and_fire neuron model. In my original version, I had defined the variable
in the internals block. It's just the integer version of the state However, instead of calculating its initial value from the initial
This is a problem because now one cannot control the initial value of In and in the attached script, you'll find a revised version of the model. |
Check that state/parameters/internals obtain the right initial values, at different stages, e.g. after
Create()
, afterCopyModel()
.Upon model creation, parameters, internals and state are initialized to their default values defined in the NESTML model (in that order). What if there is a state variable, dependent on a parameter value, that is set to a non-default value? Could NEST
CopyModel()
be used for this?The text was updated successfully, but these errors were encountered: