Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Getting all the projections #673

Open
mervess opened this issue Jul 8, 2020 · 2 comments
Open

Getting all the projections #673

mervess opened this issue Jul 8, 2020 · 2 comments

Comments

@mervess
Copy link

mervess commented Jul 8, 2020

Hello,

I was wondering if there is a way to return all the projections made over a simulator regardless of which simulator is used with PyNN.

For example, let's say these are the projections belonging to a simulation:
a = sim.Projection( ... )
b = sim.Projection( ... )
c = sim.Projection( ... )
... and I'd like to reach all three of a,b,c.

I checked the PyNN source code and the documentation, but didn't find any ways except Nest's GetConnections which is Nest-specific, and the Network class in PyNN, yet it could only come in handy if Network is used.

Best,
Merve

@apdavison
Copy link
Member

Hi Merve,

Currently , it is up to the user to keep track of Populations and Projections. The Network class was added recently to make this easier.

It would be possible to add a "magic" instance of Network (i.e. created automatically, Populations and Projects are added automatically, transparent to the user, accessible via the "sim" object). I don't have time to work on this, but I'd be happy to consider any proposals or pull requests for this feature.

@mervess
Copy link
Author

mervess commented Jul 10, 2020

Alright, I see 🤔 Thank you for the response Andrew.

@apdavison apdavison added this to the 0.10.0 milestone Dec 22, 2020
@apdavison apdavison modified the milestones: 0.10.0, 0.10.1 Mar 21, 2022
@apdavison apdavison modified the milestones: 0.10.1, 1.0 Jun 16, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants