pointpats.minimum_bounding_rectangle

pointpats.minimum_bounding_rectangle(points)[source]

Find minimum bounding rectangle of a point array.

Parameters:
pointsarraylike

(n,2), (x,y) coordinates of a series of event points.

Returns:
min_xfloat

leftmost value of the vertices of minimum bounding rectangle.

min_yfloat

downmost value of the vertices of minimum bounding rectangle.

max_xfloat

rightmost value of the vertices of minimum bounding rectangle.

max_yfloat

upmost value of the vertices of minimum bounding rectangle.