Skip to main content

A package for broadcasting epidemiological and ecological models over meta-populations.

Project description

MetaCast

A package for broadCASTing epidemiological and ecological models over META-populations.

Summary

MetaCast is a python package for broadcasting epidemiological and ecological ODE based models over metapopulations (structured populations). Users first define a function describing the subpopulation model. MetaCast's users then define the dimensions of metapopulations that this subpopulation is broadcast over. These dimensions can be flexibly defined allowing for multiple dimensions and migration (flows) of populations between subpopulations. In addition to the metapopulation suite MetaCast has several features. A multinomial seeder allows users to randomly select infected stages to place an infected population in based on the occupancy time of infected states. MetaCast's event queue suite can handle discrete events within simulations, such as movement of populations between compartments and changes in parameter values. Sensitivity analysis can be done in MetaCast using parallelisable Latin Hypercube Sampling and Partial Rank Correlation Coefficient functions. All of this makes MetaCast an ideal package not only for modelling metapopulations but for wider scenario analysis.

Installation

Requirements

Python 3.10 and pip. Package requirements:

  • numpy >= 1.26.3
  • pandas >= 2.1.4
  • scipy >= 1.11.4
  • pingouin >= 0.5.4
  • tqdm >= 4.66.1
  • dask >= 2024.2.1
  • distributed >= 2024.2.1

For running demonstration jupyter notebooks

  • bokeh >= 3.3.4
  • seaborn >= 0.13.2
  • jupyter >= 1.0.0

Installing via pip

Note this should also install required packages.

pip install metacast

Usage

See jupyter notebooks in demonstration directory of the projects GitGub repository: https://github.com/m-d-grunnill/MetaCast/tree/main/demonstrations

Documentation

https://metacast.readthedocs.io/en/latest/index.html

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

metacast-0.1.5.tar.gz (40.3 kB view details)

Uploaded Source

Built Distribution

metacast-0.1.5-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file metacast-0.1.5.tar.gz.

File metadata

  • Download URL: metacast-0.1.5.tar.gz
  • Upload date:
  • Size: 40.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for metacast-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ff8ac76c84c0ee3cb1f9a4271f7d0c18f44b92965b9b3b1a046e7aa402c3990d
MD5 1fd739e4377db55b263b45df2e9b06fa
BLAKE2b-256 3abbffff024d81974d674d377f5507e88ff0682e40c6256c279bbef492019129

See more details on using hashes here.

File details

Details for the file metacast-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: metacast-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.13

File hashes

Hashes for metacast-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6c7be28a1c6689241300b97c1595816c3393ce329fd3da0cc05efaeeb72121e3
MD5 fe500b2bf8c9e07e31ebe798726b9022
BLAKE2b-256 986b5d4a822ae1ab5f7c5c32d7ddaecf54019eedc876a2829153e308a1f17a2d

See more details on using hashes here.

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