The basics of how to develop, test, and use models.
- Posts: 108
- Joined: Thu Sep 08, 2005 11:49 am
how we can measure the distance from a point on the neuron to soma? In other words, do we have a function in Neuron that returns the distance,"straight line", e.g, between soma and dend10?
- Site Admin
- Posts: 5869
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
No. You have to define the xyz coordinates of a pair of points, one point on one section and
the other point on the other section. Then calculate the euclidian distance as
sqrt(delta x^2 + delta y^2 + delta z^2)