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 homepage: https://github.com/m-d-grunnill/MetaCast/tree/main/demonstrations
Documentation
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
Built Distribution
File details
Details for the file metacast-0.1.4.tar.gz
.
File metadata
- Download URL: metacast-0.1.4.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20e589d0f17f16b7de4865291b7ea4ac434533c5aecb2c3b4e74ed3bd2c09aa0 |
|
MD5 | 787f04decba6bd4f1cd5ee6cdc448067 |
|
BLAKE2b-256 | 555eb62ffc734486cfdac4c757738d808cfe1b96166910e3d2866c62892e8988 |
File details
Details for the file metacast-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: metacast-0.1.4-py3-none-any.whl
- Upload date:
- Size: 36.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbfe4cc2630e8a77be9d7ec5e6f5a5ef800d1df64bbf3046e2a12ccea773395a |
|
MD5 | 25803388d4faf8c849f9128da1479a74 |
|
BLAKE2b-256 | e2dea45838a423d2318c289f4db308e200f092f4888952b3f05a6f36dc002174 |