neurom.analysis.morphmath.segment_x_coordinate

neurom.analysis.morphmath.segment_x_coordinate(seg)

Return the mean x coordinate of a segment

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