Surface area of entire neuron?
Posted: Tue Jun 28, 2011 6:08 pm
Is there an easy way to calculate the surface area of an entire neuron?
Thanks in advance!
Corinne
Thanks in advance!
Corinne
The NEURON Forum
https://www.neuron.yale.edu/phpBB/
Code: Select all
proc totalarea() { local sum
finitialize()
sum = 0
forall for (x,0) sum += area(x)
print "total surface area = ", sum, " um2"
}
totalarea() // returns total surface area
Code: Select all
proc totalarea() { local sum
finitialize()
sum = 0
// forall for (x,0) sum += area(x)
forsec $o1.all for (x,0) sum += area(x)
print "total surface area = ", sum, " um2"
}
Code: Select all
totalarea(Pyr[24]) // arg is the name of a particular instance of the Pyr class
totalarea(cells.o(59)) // cells is a List of objrefs that point to instances of cell classes
// you're interested in the 60th cell in the List