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
Hashes for pandemic-0.3.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79fd1149cf0bf9aba4839234f74dc14b28e5cd2887f9dbc9948bf28ba63014a |
|
MD5 | cf90559540500eed3d2cc02a30f7ae80 |
|
BLAKE2b-256 | 734eaaaa3c47edb31e88d5df8840999acbd2613d6312f44d574ea17a635d8655 |