Skip to main content

Simulations of spatial networks growth

Project description

Reticuler

PyPI Documentation Status Code style: black

Python package to simulate the growth of spatial transport networks in nature.

Documentation

Setup

External dependencies:

FreeFEM++ - PDE solver

Package installation

pip install reticuler

Usage

Four command line scripts are installed during the installation:

  • reticulate - runs the simulation
  • reticulate_back - runs the the Backward Evolution Algorithm
  • clip_ret - clips the network to one of the growth thresholds: maximum forward evolution step, length, height, evolution time, or BEA step
  • plot_ret - plots the network based on the .json file from the simulation
  • script_ret - prepares a FreeFEM++ script based on the .json file

To use just type in the command line: reticulate -h

Typical network growth simulation:

reticulate -out test --growth_params {\"growth_thresh_type\":1,\"growth_thresh\":2}
  • output file: test,
  • growth threshold type: maximum network height,
  • growth threshold: 2

How to cite

[1] Through history to growth dynamics: backward evolution of spatial networks, S. Żukowski, P. Morawiecki, H. Seybold, P. Szymczak, Sci. Rep. 12, 20407 (2022).

[2] Breakthrough-induced loop formation in evolving transport networks, S. Żukowski, A. J. M. Cornelissen, F. Osselin, S. Douady, P. Szymczak, PNAS 121 (29), e2401200121 (2024). Materials

References: The thin-finger growth algorithm used in this package was based on an earlier code described in the paper Bifurcation dynamics of natural drainage networks (A. Petroff, O. Devauchelle, H. Seybold, and D. H. Rothman. Philos. Trans. Royal Soc. A 371, 20120365, 2013)

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

reticuler-5.0.tar.gz (55.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reticuler-5.0-py3-none-any.whl (66.1 kB view details)

Uploaded Python 3

File details

Details for the file reticuler-5.0.tar.gz.

File metadata

  • Download URL: reticuler-5.0.tar.gz
  • Upload date:
  • Size: 55.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reticuler-5.0.tar.gz
Algorithm Hash digest
SHA256 008da790dbcde86f2ede046a6ce67455285f9a462f46489b9171849586fc6af5
MD5 62e2890751359049ae015ff77149ad89
BLAKE2b-256 d1e736e8e8a072b6b89d81d2aef98f40191022dec730b03de642df47155ec7d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for reticuler-5.0.tar.gz:

Publisher: pypi.yml on stzukowski/reticuler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file reticuler-5.0-py3-none-any.whl.

File metadata

  • Download URL: reticuler-5.0-py3-none-any.whl
  • Upload date:
  • Size: 66.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reticuler-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b0909a18b01f645dc3020b35d4c82da5c4241d05ccfa81fc1a20e0d234292e8
MD5 9f8bf5bee0bd4f4455e7d603dd787be5
BLAKE2b-256 dd572fd63450fc78fb09df796b314b04085f95b50c5bf101d7bf585b18e18900

See more details on using hashes here.

Provenance

The following attestation bundles were made for reticuler-5.0-py3-none-any.whl:

Publisher: pypi.yml on stzukowski/reticuler

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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