spatstat.random
Sub-package of spatstat containing functions for random generation
spatstat's simulation engine pushes point process generation into three dimensions
◆Recent moves
- 20d ago
Edge-effect-free random Dirichlet-Voronoi tessellation
A single-feature release adding a random Dirichlet-Voronoi tessellation generated without edge effects. Edge effects are the standard bias in tessellation simulation, so removing them matters more than the one-line entry suggests, but this is a narrow addition next to the 3D work in 3.5-0.
View source ↗ - 2mo ago
Three-dimensional point process simulation arrives
⚡ SPARKThe release where three-dimensional simulation stops being a gap: inhomogeneous Poisson processes, non-uniform random points and Simple Sequential Inhibition all arrive in 3D at once, alongside random diffusion, random unrounding, a truncated Poisson distribution and a new class of theoretical cluster process models. The sibling geometry package extends the same 3D work two releases later.
View source ↗ - 6mo ago
Gaussian random field generation added
Adds generation of Gaussian random fields, plus minor improvements and bug fixes. Gaussian random fields underpin log-Gaussian Cox process simulation, so this sits on the same widening of theoretical generators that 3.5-0 continued.
View source ↗ - 10mo ago
runifdisc efficiency and fixed-count simulation options
Efficiency improvements to `runifdisc` and more options when simulating a fixed number of random points. Internal tuning of existing generators rather than new simulation capability.
View source ↗ - 1y ago
Conditional simulation for the cluster process generators
Conditional simulation arrives across the cluster process generators — `rLGCP`, `rThomas`, `rMatClust`, `rCauchy` and `rVarGamma`. Simulating conditionally on an observed pattern is what these generators need to support model checking rather than only forward simulation.
View source ↗ - 1y ago
Faster rpoispp for tessellation-defined intensity
An improved algorithm for `rpoispp` when the intensity `lambda` is defined by a tessellation. A performance path for one specific intensity representation.
View source ↗