/posts

Pieces of code that have appeared on my blog with a focus on stochastic simulations.

Primary LanguagePythonMIT LicenseMIT

posts

A repository of code that I have mentioned or used on my blog: http://hpaulkeeler.com/posts/

Feel free to use any of the code for whatever purposes. If you publish a paper using any of the code, please cite this repository.

I have written the code mostly in MATLAB, R and Python. Most of it concerns simulating point processes, which are also called random point fields or random counting measures.

Examples include simulating a homogeneous Poisson point process on a disk and triangle.

See the individual posts for more details.

Directories

The code directories and the corresponding posts.

BertrandParadox https://hpaulkeeler.com/the-bertrand-paradox/

BinomialRectangle https://hpaulkeeler.com/point-process-simulation/

CoxLinePoint https://hpaulkeeler.com/simulating-a-cox-point-process-based-on-a-poisson-line-process/

InhomoPoissonRectangle https://hpaulkeeler.com/simulating-an-inhomogeneous-poisson-point-process/

MaternClusterRectangle https://hpaulkeeler.com/simulating-a-matern-cluster-point-process/

MaternHardcoreRectangle https://hpaulkeeler.com/simulating-matern-hard-core-point-processes/

PoissonDirect https://hpaulkeeler.com/simulating-poisson-random-variables-direct-method/

PoissonDisk https://hpaulkeeler.com/simulating-a-poisson-point-process-on-a-disk/

PoissonCheck https://hpaulkeeler.com/checking-poisson-point-process-simulations/

PoissonFast https://hpaulkeeler.com/simulating-poisson-point-processes-faster/

PoissonLine https://hpaulkeeler.com/simulating-a-poisson-line-process/

PoissonRectangle https://hpaulkeeler.com/poisson-point-process-simulation/

PoissonRectangleThinned https://hpaulkeeler.com/thinning-point-processes/

PoissonTriangle https://hpaulkeeler.com/simulating-a-poisson-point-process-on-a-triangle/

PoissonVoronoi https://hpaulkeeler.com/creating-a-voronoi-dirichlet-tesselation

TestingJulia https://hpaulkeeler.com/testing-the-julia-language-with-point-process-simulations/

ThomasClusterRectangle https://hpaulkeeler.com/simulating-a-thomas-cluster-point-process/

VoronoiUniform https://hpaulkeeler.com/placing-a-random-point-uniformly-placed-in-a-voronoi-cell/