Metadata-Version: 2.1
Name: pandemic
Version: 0.3.5
Summary: Orstein-Uhlenbeck pandemic simulation
Home-page: https://github.com/microprediction/pandemic
Author: microprediction
Author-email: info@microprediction.org
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: pathlib
Requires-Dist: matplotlib
Requires-Dist: contexttimer
Requires-Dist: requests
Requires-Dist: python-geohash
Requires-Dist: deepdiff
Requires-Dist: pymorton
Requires-Dist: pytest
Requires-Dist: redis
Requires-Dist: scipy

# 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. 

![](https://github.com/microprediction/pandemic/blob/master/images/pandemic.png)

### 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](https://www.linkedin.com/pulse/pandemic-minimalist-2d-ornstein-uhlenbeck-model-peter-cotton-phd) with 
the followup [here](https://www.linkedin.com/pulse/dear-new-zealand-heres-how-simulate-covid-19-all-your-cotton-phd/) where possible
improvements are also discussed and acknowledgements are made.   

### Contributing 

Opinions and issues are most welcome. 

