Skip to content

Instantly share code, notes, and snippets.

View araipiyo's full-sized avatar
🌴
Always on vacation:)

Shunichi Arai araipiyo

🌴
Always on vacation:)
View GitHub Profile
@araipiyo
araipiyo / covid19.py
Created March 14, 2020 02:25 — forked from skoba/covid19.py
COVID-19 simuation by SEIR model
# The preprints is available from https://www.preprints.org/manuscript/202002.0179/v1
# S Susceptible
# E Exposed
# I Infected
# R Recovery
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
r0 = 3. # basic reproduction number