access to section!
Posted: Sun Oct 15, 2006 6:13 pm
Hi,
Suppose you have a complex morphology data of a cell, and you have successfully convert it to neuron.
in "sh" windowes, when i type oc> topology() i will see my sections that consists of :
soma , dend1[0], dend1[1],.........
dend2[0], dend2[1],.........
.......................................
.......................................
dend10[0], dend10[1],.........
i want to write a code that contain a for loop,which in this loop i like to have access to every section. Assume, we can show dendrtic segment with symbol dendj[0:end], that "j" showes barnch , [0:end] shows number for barnch segmant( i hope it is clear).
my for loop is like:
for j=1,end{
for i=1,end{
accecc dendj
dendj.dima=2*j // for example!
}
}
so, is there any command to find how many barnch we have? j=1,?
is there any command to find how many segment are attributed to a barnch? i=1,?
or, maybe you have other way, to have access to every segment?
Thanks in advance!
Karlo
Suppose you have a complex morphology data of a cell, and you have successfully convert it to neuron.
in "sh" windowes, when i type oc> topology() i will see my sections that consists of :
soma , dend1[0], dend1[1],.........
dend2[0], dend2[1],.........
.......................................
.......................................
dend10[0], dend10[1],.........
i want to write a code that contain a for loop,which in this loop i like to have access to every section. Assume, we can show dendrtic segment with symbol dendj[0:end], that "j" showes barnch , [0:end] shows number for barnch segmant( i hope it is clear).
my for loop is like:
for j=1,end{
for i=1,end{
accecc dendj
dendj.dima=2*j // for example!
}
}
so, is there any command to find how many barnch we have? j=1,?
is there any command to find how many segment are attributed to a barnch? i=1,?
or, maybe you have other way, to have access to every segment?
Thanks in advance!
Karlo