Library of mathematical epidemic models for use in simulation studies and inference


License
MIT
Install
pip install epimodels==0.3.16

Documentation

Epimodels

This library a simple interface to simulate mathematical epidemic models.

Getting started

Simple SIR simulation

from epimodels.continuous.models import SIR
model = SIR()
model([1000, 1, 0], [0, 50], 1001, {'beta': 2, 'gamma': .1})
model.plot_traces()

Related libraries

For stochastic epidemic models check this.