Skip to content
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

Return Connectome from Connect #10

Closed
stinebuu opened this issue Sep 27, 2018 · 2 comments
Closed

Return Connectome from Connect #10

stinebuu opened this issue Sep 27, 2018 · 2 comments

Comments

@stinebuu
Copy link

We should add the possibility of returning a Connectome object directly from the Connect call:

a = nest.Create('iaf_psc_alpha', 10)
c = nest.Connect(a,a, return_connectome=True)

This should be quite easy to implement, as we would just need to call nest.GetConnections(a, a) if return_connectome is True.

@heplesser
Copy link
Member

Had we decided yet on the form of the returned connectome? The current list of lists is just too expensive and inefficient. A NumPy array would be much better, I think. A bit of a challenge here would be that arrays are most efficient if we know in advance how many rows we need.

stinebuu pushed a commit that referenced this issue Feb 27, 2019
@stinebuu
Copy link
Author

This issue is fixed by 85fc32a. I am thus closing this, as we have #2 to remind us about the internal representation of the connectome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants