Open sdwfrost opened 2 years ago
That's a good idea, it would also be a nice benchmark for sPop2. It should be quick to code up, I'll submit a PR when I get to it. A discretized exponential and fixed duration of infectiousness would be a good demo.
The underlying library from @kerguler - now called Population.jl still seems to be in a bit of flux. Perhaps I'll wait until it's settled down.
sPop2.jl is a Julia implementation of sPop, also available in C and Python, and R.
In the paper, there is a Python example of an SIR model. Having an SIR model more along the lines of the examples here (e.g. having a discretized exponential duration of infection) would be good. Any ideas @slwu89?