neurom.core._soma.SomaSimpleContour¶
-
class
neurom.core._soma.
SomaSimpleContour
(points)[source]¶ Bases:
neurom.core._soma.Soma
Type C: multiple points soma Represented by a contour.
The equivalent radius as the average distance to the center.
Note: This doesn’t currently check to see if the contour is in a plane. Also the radii of the points are not taken into account.
Methods
__init__
iter
Iterator to soma contents Attributes
center
Obtain the center from the average of all points points
Get the set of (x, y, z, r) points this soma volume
Gets soma volume assuming it is a sphere