Skip to content

daedalus 0.2.36

Choose a tag to compare

@pratikunterwegs pratikunterwegs released this 31 Oct 13:51

This patch version allows NPIs to end in reaction to an epidemic signal (PR #122).

  • Converts the daedalus_ode class to a mixed-time ODE system and uses the update functionality to access dy and end NPIs based on the instantaneous value of $R_t$;

  • Adds functionality to calculate $R_t$ in the ODE model; adds functionality to easily get the next-generation matrix in R;

  • Updates the function get_beta() to include workplace contacts in the age-specific contact matrix;

  • Allows an $R_t$ time-series to be returned from model runs;

  • Updates how event times are inferred as event_data is no longer returned as part of <daedalus_output>; the manual NPI ending using update is not picked up as an event;

  • Updates the costs functions and tests for renamed output elements;

  • Updates a number of snapshot tests due to reduction in the transmission rate $\beta$ from updates to get_beta();

  • Updates daedalus::events to make event generation logic for a daedalus::events::response clearer.