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")
)
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
Built Distribution
File details
Details for the file first_passage_percolation_sim-0.1.4.tar.gz
.
File metadata
- Download URL: first_passage_percolation_sim-0.1.4.tar.gz
- Upload date:
- Size: 870.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5822f21e7c0b809706b2ed4f5082fccebf36928c29d6947872bb2fce619e8329 |
|
MD5 | 3929be0d8113ef05c370b215d25e4eb6 |
|
BLAKE2b-256 | 53b0ba448da4875f7f41844d48484c5a00dfb172d7a4cfbb8cbc32c7cc480358 |
File details
Details for the file first_passage_percolation_sim-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: first_passage_percolation_sim-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af50e8de6deac2b97fe22bcb58b2ed320cc16d0e6e873b1aaf506d7ac741346c |
|
MD5 | ff329decddf22a1676251a00f7d14cad |
|
BLAKE2b-256 | 47b48b19aa6304a67a42acaab42afb51a371cc7b347d4e632193dc09498b10fd |