neurom.morphmath.segment_x_coordinate

neurom.morphmath.segment_x_coordinate(seg)[source]

Return the mean x coordinate of a segment

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