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

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-3.3.tar.gz (42.5 kB view details)

Uploaded Source

Built Distribution

reticuler-3.3-py3-none-any.whl (49.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reticuler-3.3.tar.gz
  • Upload date:
  • Size: 42.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for reticuler-3.3.tar.gz
Algorithm Hash digest
SHA256 844c2e1f7794eeed1ae3a4067b465729d875c213b2da71de2c521bebd04e85a1
MD5 416f06c5516f0d316edf722e027299ca
BLAKE2b-256 8a8baa7f9825b99ee2bcc414a219b21a9eecab02bdb110771b357f8ecdd4cdc3

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: reticuler-3.3-py3-none-any.whl
  • Upload date:
  • Size: 49.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for reticuler-3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cadd0e827738a903e97f3180c577d59da32e8eb823e513c8ffa37951bb33a610
MD5 671e76fb42be659462430f3c2aefb906
BLAKE2b-256 6afd02f30f3c313631474c2cd034d16e9f0f03ef940a3dd6ea76bbb51fb9b95d

See more details on using hashes here.

Provenance

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