path length calculation
Posted: Tue Jun 21, 2005 6:13 pm
dear group,
i'm facing a rather simple problem with the neuron program i can't fix.
i'd like to print out the distance from each section (from the point on at which it is connected to its parent) to the soma.
so for each section i'd like to calculate the way along all the parent sections up to the origon of the section itself (bearing in mind that the sections are not always connected to each other at the end, but in an interval of [0,1]).
i'm having trouble with referencing the sections in a forall-loop
thank you in advance,
alexander schubert
i'm facing a rather simple problem with the neuron program i can't fix.
i'd like to print out the distance from each section (from the point on at which it is connected to its parent) to the soma.
so for each section i'd like to calculate the way along all the parent sections up to the origon of the section itself (bearing in mind that the sections are not always connected to each other at the end, but in an interval of [0,1]).
i'm having trouble with referencing the sections in a forall-loop
thank you in advance,
alexander schubert