# pointpats.RectangleM¶

class pointpats.RectangleM(pp, count_column=3, count_row=3, rectangle_width=0, rectangle_height=0)[source]

Rectangle grid structure for quadrat-based method.

Parameters
ppPointPattern

Point Pattern instance.

count_columninteger

Number of rectangles in the horizontal direction. Use in pair with count_row to fully specify a rectangle. Incompatible with rectangle_width and rectangle_height.

count_rowinteger

Number of rectangles in the vertical direction. Use in pair with count_column to fully specify a rectangle. Incompatible with rectangle_width and rectangle_height.

rectangle_widthfloat

Rectangle width. Use in pair with rectangle_height to fully specify a rectangle. Incompatible with count_column & count_row.

rectangle_heightfloat

Rectangle height. Use in pair with rectangle_width to fully specify a rectangle. Incompatible with count_column & count_row.

Attributes
ppPointPattern

Point Pattern instance.

mbbarray

Minimum bounding box for the point pattern.

pointsarray

x,y coordinates of the point points.

count_columninteger

Number of columns.

count_rowinteger

Number of rows.

numinteger

 plot(self[, title]) Plot rectangle tessellation as well as the number of points falling in each rectangle. Count the point events in each cell.
__init__(self, pp, count_column=3, count_row=3, rectangle_width=0, rectangle_height=0)[source]