Skip to main content

Simulations of the first passage percolation on the square lattice

Project description

first passage percolation

This package provides simulation tools for first passage percolation on the square lattice. See the example.ipynb file for the usage of the package.

Simple example

import first_passage_percolation_sim as fpp
from scipy.stats import geom

(fpp.FirstPassagePercolation(size=201, dist=geom(0.5))
    .compute_lengths()
    .plot_heatmap(cmap="inferno")
)

drawing

Installation

pip install first-passage-percolation-sim

TODO's

  • Testings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

first_passage_percolation_sim-0.1.4.tar.gz (870.4 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file first_passage_percolation_sim-0.1.4.tar.gz.

File metadata

File hashes

Hashes for first_passage_percolation_sim-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5822f21e7c0b809706b2ed4f5082fccebf36928c29d6947872bb2fce619e8329
MD5 3929be0d8113ef05c370b215d25e4eb6
BLAKE2b-256 53b0ba448da4875f7f41844d48484c5a00dfb172d7a4cfbb8cbc32c7cc480358

See more details on using hashes here.

File details

Details for the file first_passage_percolation_sim-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for first_passage_percolation_sim-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 af50e8de6deac2b97fe22bcb58b2ed320cc16d0e6e873b1aaf506d7ac741346c
MD5 ff329decddf22a1676251a00f7d14cad
BLAKE2b-256 47b48b19aa6304a67a42acaab42afb51a371cc7b347d4e632193dc09498b10fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page