Does Section have something like `id` attribute?
Posted: Wed Aug 21, 2019 12:16 pm
Hello everyone!
I'm trying to launch a Sonata network in NEURON. According to their documentation they store synapses locations as some section id. I suspect that it is a Section's index in h.allsec() collection. I've looked over Section's documentation and have some questions.
1. Am I correct that there is no such thing as Section's id? At least publicly available in NEURON API.
2. Is there a shortcut method to get a section by its index? Currently I transform h.allsec() into a list, and access the necessary section by the list's index.
3. I've tried to create a synapse by h.Exp2Syn(sec=section_id) but it didn't work. However in this documentation a method h.this_section is mentioned that allows to get something that looks like Section's id.
I'm trying to launch a Sonata network in NEURON. According to their documentation they store synapses locations as some section id. I suspect that it is a Section's index in h.allsec() collection. I've looked over Section's documentation and have some questions.
1. Am I correct that there is no such thing as Section's id? At least publicly available in NEURON API.
2. Is there a shortcut method to get a section by its index? Currently I transform h.allsec() into a list, and access the necessary section by the list's index.
3. I've tried to create a synapse by h.Exp2Syn(sec=section_id) but it didn't work. However in this documentation a method h.this_section is mentioned that allows to get something that looks like Section's id.