Skip to content

Instantly share code, notes, and snippets.

@tvaught
tvaught / sir.py
Created March 30, 2020 01:55
SEIR Model in Python using Bokeh for Visualization
# Simple SEIR model
# by: Travis N. Vaught
#
# This is a bokeh version of the model shown here:
# https://scipython.com/book/chapter-8-scipy/additional-examples/the-sir-epidemic-model/
# and here:
# https://towardsdatascience.com/social-distancing-to-slow-the-coronavirus-768292f04296
#
# Dependencies:
# numpy, scipy, bokeh