neurom.core._soma.Soma

class neurom.core._soma.Soma(points)[source]

Bases: object

Base class for a soma.

Holds a list of raw data rows corresponding to soma points and provides iterator access to them.

Methods

__init__
iter Iterator to soma contents

Attributes

center Obtain the center from the first stored point
points Get the set of (x, y, z, r) points this soma
volume Gets soma volume assuming it is a sphere