locan.simulation.simulate_locdata.make_Poisson#
- locan.simulation.simulate_locdata.make_Poisson(intensity, region=(0, 1), seed=None)[source]#
Provide points that are distributed by a uniform Poisson point process within the boundaries given by region.
- Parameters:
intensity (
int
|float
) – The intensity (points per unit region measure) of the point processregion (
Union
[Region
,_SupportsArray
[dtype
[Any
]],_NestedSequence
[_SupportsArray
[dtype
[Any
]]],bool
,int
,float
,complex
,str
,bytes
,_NestedSequence
[Union
[bool
,int
,float
,complex
,str
,bytes
]]]) – The region (or support) for all features. If array-like it must provide upper and lower bounds for each feature.seed (
Union
[None
,int
,Sequence
[int
],SeedSequence
,BitGenerator
,Generator
]) – random number generation seed
- Returns:
The generated samples of shape (n_samples, n_features).
- Return type:
npt.NDArray[np.float64]