Error to do with low duration runs with continue_run=True #196
-
Hi guys, I would like to start by saying thank you very much for this software, it has very interesting exploring it for my dissertation. Anyway, I've found an error that occurs when the duration of the simulation is set too low (>100ms). This error is strange as it isn't a binary thing, instead the probability of the error increases as the duration decreases. I do not think the error is linked to the continue_run parameter. The error seems to occur at durations as high as 250ms with about a 20% probability from my observations. One detail that may help is that the failed runs tend to occur in pulses as do the successful runs, in other words they come in clumps. Please let me know if you get any ideas as to how I could get around this error as I would really like to try some tests that require a greater degree of precision. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Hey @HenryMarsden, thanks for giving a shot to Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Henry, You told me earlier that you have the error Maybe your stimulus is too strong? The input |
Beta Was this translation helpful? Give feedback.
-
So @caglorithm is right. thalamus.params['duration'] = duration
thalamus.params['dt'] = 0.001 Should work:) |
Beta Was this translation helpful? Give feedback.
So @caglorithm is right.
I just tested your code with lower
dt
: when you lower your dt the model runs smoothly, try e.g. dt = 0.001 ms usingShould work:)