Dear Maryada,
Unfortunately, I was not able to open your attachment, so I could not have a look at your code. It is possible to convert a neuron id to a NodeCollection and then get the information by calling
nc = nest.NodeCollection([neuron_id])
nc.get()
nest.GetStatus(nc) also works. Instead of the single neuron id in the list, you could also send several neuron id's.
This will not get you any information about the connections however. If this is what you are after, you need to get the SynapseCollection by calling nest.GetConnections(), and then either iterating the SynapseCollection and get the information for the individual
connection or get the information for the entire connection.
Hope this helps!
Best wishes,
Stine
Dear NEST users,
In the past version, for debugging purposes I used to get information of my source and target using the GetStatus function.
However, with NEST 3.0, I couldn't find a way to do so, mainly because I have to pass either a SynpaseCollection or NeuronCollection as a function argument to GetStatus. Is it possible to fetch node collection from neuron id? Or any easier way to get source
and target properties.
I have attached the python file for the same.
_______________________________________________