Orstein-Uhlenbeck pandemic simulation
Project description
Pandemic
An agent model in which commuting, compliance, testing and contagion parameters drive infection in a population. Agents follow OU drift processes on the plane. Viral load is estimated from geohashing. A population of 5,000,000 or so can be used without computational issue, although the default parameters for city generation assume something closer to 40,000.
Usage
The author is not an epidemiologist. There is nothing sacrosanct about the default parameters.
pip install pandemic
>> from pandemic import run
>> run()
There are a few example of modifying the parameters in pandemic.main
Basic elements of the model
Covered in this post with the followup here where possible improvements are also discussed and acknowledgements are made.
Contributing
Opinions and issues are most welcome.
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 pandemic-0.3.2.tar.gz.
File metadata
- Download URL: pandemic-0.3.2.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c04243f62675f02b5024edb5b8ba10cb8de93e63eef49d749b059b42ecc26a57
|
|
| MD5 |
58b2a2d6095e05e31e9d75717a61a500
|
|
| BLAKE2b-256 |
8b27c43ade4742bb455690521efeb3162523ace65a69790d76212025e2478b7a
|
File details
Details for the file pandemic-0.3.2-py3-none-any.whl.
File metadata
- Download URL: pandemic-0.3.2-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c42d7fdc7ea9f33df32f1d7389e99125f43beef4b80bc898caa566f6ec479511
|
|
| MD5 |
9e50538ee6712905dac251aacd1be54c
|
|
| BLAKE2b-256 |
410a453a0af5b90b69afef3037af6573f26645b4d59671eb4c8dfac7fe70ca6a
|