Closed cwhittaker1000 closed 5 months ago
Another thing we might want to add is a step rendering the number of cases in each timestep that arise through this new mechanism?
Another thing we might want to add is a step rendering the number of cases in each timestep that arise through this new mechanism?
I have pushed a version with the number of individuals that get infected through this mechanism in each time step when endemic model setting is used. I've also added some unit tests for the rendering process.
We've been struggling with stochastic extinction of endemic pathogens during the establishment of endemicity (when oscillations in active infection prevalence are quite significant). A principled and reasonable way around this is to assume a background, baseline FOI to keeps the number of infectious individuals very slightly > 0 during periods of very low incidence. This PR implements this functionality.
@tbreweric could you have a look at this when you get a chance please? I think I've captured the principle of what we need, but you're way better at infrastructure design than I am! :)