-
Notifications
You must be signed in to change notification settings - Fork 7
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
Port delay re-draw fix #10
base: main
Are you sure you want to change the base?
Conversation
otcathatsya
commented
Apr 10, 2024
•
edited
Loading
edited
- Reference for delay change: The cortical microcircuit NEST examples do not generate the number of connections with a minimal delay that one might expect nest/nest-simulator#2503
- This was fixed in the NEST-local example a while back but seemingly not updated elsewhere
- Note: This was also applied to MAM now and also needs to be re-re-ported to NEST master
913ccd6
to
f3c7a46
Compare
@@ -671,7 +672,7 @@ def connect(simulation, | |||
mean=mean_delay, | |||
std=mean_delay * network.params['delay_params']['delay_rel'] | |||
), | |||
min=simulation.params['dt'], | |||
min=dt - 0.5 * dt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This only works if dt=nest.resolution. Subtract nest.resolution instead of dt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Catherine. This looks good to me now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks for the changes :)