Skip to main content

Orstein-Uhlenbeck pandemic simulation

Project description

Pandemic

An agent model in which commuting, compliance, testing and contagion parameters drive infection in a population of thousands of millions. Agents follow Ornstein-Uhlenbeck processes in the plane and collisions drive transmission. Results are stored at SwarmPrediction.com for further analysis, and can be retrieved by anyone.

Motivaton

Covered in this post with the followup here where possible improvements are also discussed and acknowledgements are made.

The author is not an epidemiologist. The model expresses no opinions on the health aspects of COVID-19. The model offers a novel motion model with some interesting analytic properties also discussed in the article referenced above.

Usage

pip install pandemic
>> from pandemic import run
>> run()

See also examples of library use and examples of using the public database of simulations generated by this model.

Crowd-sourced surrogate model

See SwarmPrediction.com for an explanation of a SETI-like project to crowd-source a surrogate model.

Basic elements of the model

Covered in detail in this article

Contributing

Opinions and issues are most welcome.

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

pandemic-0.3.13.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandemic-0.3.13-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file pandemic-0.3.13.tar.gz.

File metadata

  • Download URL: pandemic-0.3.13.tar.gz
  • Upload date:
  • Size: 12.6 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

Hashes for pandemic-0.3.13.tar.gz
Algorithm Hash digest
SHA256 44f771cdcd1a2a3e2bdc14da790022472b072a6cafa73b37e420d5d06b80d8e9
MD5 2e5416d6321d03ece6ed2f19497e5fe0
BLAKE2b-256 7be776dd862ff47b2ba6bcd68df2577e71b0ba258a0aecbfa50ccd823db46f64

See more details on using hashes here.

File details

Details for the file pandemic-0.3.13-py3-none-any.whl.

File metadata

  • Download URL: pandemic-0.3.13-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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

Hashes for pandemic-0.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5648f8d4ebc3550335cab002a12e4f1af1605fac187bb1b6b4e9e795bc012324
MD5 0f8b535aae19636212f2059305fc37d4
BLAKE2b-256 5e3c2ddf09d347e90efe63f8a6bc1b87c77acfda449ea9cebe4a79a81726fd83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page