pointpats.HexagonM¶
- class pointpats.HexagonM(pp, lh)[source]¶
Hexagon grid structure for quadrat-based method.
- Parameters:
- pp
PointPattern
Point Pattern instance.
- lhfloat
Hexagon length (hexagon).
- pp
- Attributes:
- pp
PointPattern
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.
- pp
Methods
__init__
(pp, lh)plot
([title])Plot hexagon quadrats as well as the number of points falling in each quadrat.
Count the point events in each hexagon cell.