Some mathematical models on epidemiology / Covid-19 infections
Project description
Python package for epidemiological models relevant to modeling Covid-19 infections
Pre-requisite: Python 3.6 and above
To run the following models, execute (from the top-level covimath directory):
- SIS model:
python3 -m covimath.models.sis N=1000 lambda=0.05 mu=0.15 gamma=0.1 I0=1 tau=30 - SIR model:
python3 -m covimath.models.sir N=1000 I0=1 R0=0 beta=0.2 gamma=0.1 tau=150 - SEIR model:
python3 -m covimath.models.seir N=1000 E0=1 I0=1 R0=0 beta=1.38 sigma=0.19 gamma=0.34 tau=150 - SEIRD model:
python3 -m covimath.models.seird N=1000 E0=1 I0=1 R0=0 D0=0 beta=1.38 sigma=0.19 gamma=0.34 mu=0.03 tau=150
To run the tests, from the top-level covimath directory, run:
pytest
A simple method to estimate beta for SIR model has been provided.
Example code can be found in a gist.
Installation: To install this package, run: pip3 install covimath
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file covimath-0.1.2.tar.gz.
File metadata
- Download URL: covimath-0.1.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ed98c3039ad6329290c91c23414c8cf5fa0607aaac97e3de2291bf351b0a710
|
|
| MD5 |
01be4126a0a829cad4392c29863ab295
|
|
| BLAKE2b-256 |
9e10a38b6ea5fe82ecb22932cf8e0e5a10335d000f4bec39c8d0629924522957
|
File details
Details for the file covimath-0.1.2-py3-none-any.whl.
File metadata
- Download URL: covimath-0.1.2-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2643dbd90e18feb9a91efc3d701e067586994921e9d7d6f73b0e4aec6c03c132
|
|
| MD5 |
f23e3065938de578a77daf4daca08286
|
|
| BLAKE2b-256 |
63c3c6c7793f1b01b2ef23bb5cf9a13b645b97a3096bf1fdafc19bf5d03391aa
|