measurments of area by section
Posted: Fri Nov 15, 2019 8:55 am
Hello,
I'm trying to obtain the surface of the different compartments.
I understood that to obtain it for a section I should write
or for the all neuron
But is it possible l to obtain it for a subsets such as this one :
by typing
Thanks
Fabien
I'm trying to obtain the surface of the different compartments.
I understood that to obtain it for a section I should write
Code: Select all
totalarea_soma = 0
soma for (x,0) totalarea_soma += area(x) # take into account the number of nseg
Code: Select all
totalarea_neuron = 0
all for (x,0) totalarea_neuron += area(x) # take into account the number of nseg
Code: Select all
all_ABD = new SectionList()
ABD all_ABD.append()
axonstart all_ABD.append()
for i=0, 1 axoD[i] all_ABD.append()
for i=0, 1 axoD_sec[i] all_ABD.append()
Code: Select all
totalarea_allABD = 0
all_ABD for (x,0) totalarea_allABD += area(x)
Fabien