neurom.morphmath.segment_volume

neurom.morphmath.segment_volume(seg)[source]

Compute the volume of a segment.

Approximated as a conical frustum.