neurom.analysis.morphmath.segment_z_coordinate

neurom.analysis.morphmath.segment_z_coordinate(seg)

Return the mean z coordinate of a segment

Returns: arithmetic mean of the z coordinates of the points in seg