-
Notifications
You must be signed in to change notification settings - Fork 371
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
Add rectified Gabor distribution for nest.spatial #2387
Conversation
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.
@ackurth Thank you for this addition. Given the wide use of Gabors it does seem sensible to have support for them at the C++-level. Could you maybe also add an example? See #2388 (comment) concerning the parameterization.
I suggest we wait a bit with this one until we have discussed #2391. |
Pull request automatically marked stale! |
@heplesser & @ackurth any news regarding this PR and the issue #2391 |
@heplesser & @ackurth any news regarding this PR? |
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.
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.
Looks good.
@ackurth Could you check the remaining code-formatting issues? |
Co-authored-by: Jose Villamar <[email protected]>
A new
nest.spatial_distributions
functions to generate a spatial connectivity profile with probabilities described by a Gabor function (see here).While in principle it seems to be possible to obtain the same functionality with other build in
nest
functions, this would, to my understanding, be rather cumbersome. Therefore I think that it might be worthwhile to add this function tonest
on this level.Note that the parametrization used for the two-dimensional Gaussian differs from the one of
nest.spatial_distributions.gaussian2D
.I think the parametrization used in this PR is more intuitive and could be used also for this function (see #2388).