surface area of a whole morphology
Posted: Mon Sep 11, 2006 11:54 am
I wonder if there is any tool that can sum up the surface area of a full morphology? As to do it manually would take an age. Thanks so much.
The NEURON Forum
https://www.neuron.yale.edu/phpBB/
Code: Select all
a=0
forall for (x) a += area(x)
print a
Code: Select all
func cellarea() { local a, x localobj cell
cell = new SectionList()
cell.wholetree()
a = 0
forsec cell for (x,0) { a += area(x) }
return a
}