This is the accompanying repo for: Multi-scale Local Network Structure Critically Impacts Epidemic Spread and Interventions
It contains functions for performing SIR and SEIR simulations with a neighbor quarantining policy. We model stochastic simulations using a Discrete Event Simulation that only tracks updates in node states.
The other notable computation is for computing the Network Community Profile (NCP) for both seeded PageRank and epidemic simulations.
See juypter notebooks in the examples/ directory for examples of code usage.
Scripts have citations where the code is based on the work of others. If you believe some portion requires a citation, please bring this to our attention. Some notable portions of code that deserve mentioning are:
The first is mostly code that I modifed from David Gleich (https://github.com/dgleich). The second was modified from https://github.com/RalphAS/HexBinPlots.jl for the missed sets computation.
For sources of data, please see the accompanying paper for appropriate citations.