pointpats.HexagonM

class pointpats.HexagonM(pp, lh)[source]

Hexagon grid structure for quadrat-based method.

Parameters
ppPointPattern

Point Pattern instance.

lhfloat

Hexagon length (hexagon).

Attributes
ppPointPattern

Point Pattern instance.

h_lengthfloat

Hexagon length (hexagon).

mbbarray

Minimum bounding box for the point pattern.

pointsarray

x,y coordinates of the point points.

h_lengthfloat

Hexagon length (hexagon).

count_row_eveninteger

Number of even rows.

count_row_oddinteger

Number of odd rows.

count_columninteger

Number of columns.

numinteger

Number of hexagonal quadrats.

Methods

plot(self[, title])

Plot hexagon quadrats as well as the number of points falling in each quadrat.

point_location_sta(self)

Count the point events in each hexagon cell.

__init__(self, pp, lh)[source]

Initialize self. See help(type(self)) for accurate signature.