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 hashes)

Uploaded Source

Built Distribution

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