Skip to main content

A package which can compute the spread of a disease in a population

Project description

DEMICESTIMATOR

Introduction

This package contains standalone code for computing data of any epidemic through various Epidemic Models (SIR, SEIR etc) . The data can be further used for studying, graphing, stimulating and predicting the spread of any epidemic.

SIR Model: A simple mathematical description of the spread of a disease in a population is the so-called SIR model, which divides the (fixed) population of N individuals into three "compartments" which may vary as a function of time.

SEIR Model: For many important infections, there is a significant incubation period during which individuals have been infected but are not yet infectious themselves. During this period the individual is in compartment E (for exposed). This is where SEIR model is used.

For The Users

The package can be installed via:

pip install epidemic_estimator

The package can be used to call the functions of available Epidemic Models

Example for SIR Model

import demicestimator as de
de.sir_model(0.5,1/4,1000,0,1,160)
print(de.sir_df)

Here you can call the function for SIR model using ee.sir_model()

Parameters:

  • Effective contact Rate
  • Recovery Rate
  • Total population
  • Recovered
  • Infected
  • No. Of Days

Probable Epidemic Data is computed from the code above which can be used to plot graph, create stimulation and so on.

Updates

Further updates with support for other models like SEIR and SIS is coming soon.

License

MIT

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

demicestimator-0.0.4.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

demicestimator-0.0.4-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file demicestimator-0.0.4.tar.gz.

File metadata

  • Download URL: demicestimator-0.0.4.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for demicestimator-0.0.4.tar.gz
Algorithm Hash digest
SHA256 fe04b1afae3e40f2810855e56d3f757af7a1aa2a715371d95dc6850dd0791bd8
MD5 1474c7a728d88dfa0af21d7f99afaf51
BLAKE2b-256 b5d4f539c4417f60ec1767bd3b640f398e5eb7540b4b4aaefbb22ffecdc60b52

See more details on using hashes here.

File details

Details for the file demicestimator-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: demicestimator-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for demicestimator-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 89328063c52da8e0f36b74761afb5b647f86ddabd8ed693cea6a06e2ebbff51c
MD5 8c56e7fe12b24f2f2c49e07829d28a33
BLAKE2b-256 00ca1443914362920ad2fa75ee2a57903eb07fcce29c628221fe0fea68f1520a

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