Topology

Anything that doesn't fit elsewhere.
Post Reply
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Topology

Post by adamimos »

Hello,

I am working with a complicated 3d model in NEURON, and I'd like to basically get an adjacency matrix of the neuron. Is there a function which does this?

I know, for instance, that the topology() function has all of the information I want, I was just wondering if there was an easy way to output it in a format that is useful to me (adjacency). I suppose one problem is that NEURON keeps track of sections, and not nodes (I think at least). Then, equivalently, is there a function which gives all of the connected section of a particular section?

Thanks in advance.

Adam
ted
Site Admin
Posts: 6299
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Topology

Post by ted »

With the SectionRef class you can discover the parent and children of any section.
With the SectionList class you can discover all root sections, and given any root section, you can use it to create a SectionList whose members are all sections that belong to that particular cell. Combine that with the SectionRef class and you can generate your own map of what is connected to what.
You may also find the forall and forsec iterators to be helpful in your application.
adamimos
Posts: 45
Joined: Mon Jan 25, 2010 4:49 pm

Re: Topology

Post by adamimos »

thanks! just what i needed.
Post Reply