Skip to main content

Library to conduct experiments in population dynamics.

Project description

Population dynamics

License PyPI Python Version codecov

Library to conduct experiements on population dynamics.

Lotka-Volterra predator-prey system

Installation

  1. To generate required log and results directories, run
bash init.sh
  1. Create conda environment
conda env create -f environment.yml
  1. Activate the environment
conda activate population-dynamics
  1. Install causal as a package within the environment
python setup.py develop

Running the Lotka-Volterra simulation

  • The Lotka-Volterra simulator class exists in repo/causal/base/lotka_volterra.py.

  • The Lotka-Volterra simulation parameters are fetched from repo/causal/config.py. You can edit the config.py file directly to play around with the parameter values.

  • You can run the simulator directly from terminal by running

python causal/base/lotka_volterra.py
  • The simulation statistics will be saved in the repo/results directory.

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

causal-inference-population-dynamics-1.0.1.tar.gz (63.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file causal-inference-population-dynamics-1.0.1.tar.gz.

File metadata

  • Download URL: causal-inference-population-dynamics-1.0.1.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for causal-inference-population-dynamics-1.0.1.tar.gz
Algorithm Hash digest
SHA256 299255664d807760dedefcddeb6e9a54aa0d24e8d05cb92c165cec7ad84aa4f8
MD5 06370c4fa74542b0c01fc6ab6c6078e2
BLAKE2b-256 16210c682ff73a5627da6be57d764815568ec4e99139061d280610acf22aeee7

See more details on using hashes here.

File details

Details for the file causal_inference_population_dynamics-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: causal_inference_population_dynamics-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for causal_inference_population_dynamics-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 438192add1cb69057e057a671f458c3f54ed648cbc0fa72e9f2bfc940ab27c0e
MD5 8995c7755431c8eff186933ced40dd52
BLAKE2b-256 aa1791f0819b411049f7ee7d796c47057c9433994ead0734b836370cf9e8098b

See more details on using hashes here.

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