# pointpats.PointProcess¶

class pointpats.PointProcess(window, n, samples, asPP=False, **args)[source]

Point Process base class.

Parameters
windowWindow

Bounding geometric object to contain point process realizations.

nint

Size of each realization.

sampleslist

Number of realizations.

asPPbool

Control the data type of value in the “realizations” dictionary. If True, the data type is point pattern as defined in pointpattern.py; if False, the data type is an two-dimensional array.

Attributes
realizationsdictionary

The key is the index of each realization, and the value is simulated event points for each realization. The data type of the value is controlled by the parameter “asPP”.

parametersdictionary

Dictionary of a dictionary. The key is the index of each realization, and the value is a dictionary with the key ‘n’ and the value size of each realization.

Methods

 draw(self, parameter) Generate a series of point coordinates within the given window.
 realize setup
__init__(self, window, n, samples, asPP=False, **args)[source]

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