Documentation for contagion

Documentation Status

contagion is a Python package supporting node immunization and network contagion simulation.

The code can be found on GitHub.

General Info

contagion is designed to be easy-to-use and full-featured, supporting computer scientists, public health researchers, network theorists, and more. Here are a few things we love about contagion:

  • accessible interface for incorporating node immunization into contagion simulations
  • supports immunization with delayed effect and variable immunity durations
  • handles partial immunity and time-varying transmission rates
  • can track symptom onset
  • implements node testing policies (random, contact tracing)