covid19-model / simulator

Spatiotemporal epidemic model introduced in the context of COVID-19, ACM TSAS, 2022

Home Page:https://dl.acm.org/doi/abs/10.1145/3530774

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'Plotter' object has no attribute 'plot_Rt_types'

lauramiron opened this issue · comments

It looks like the function plotter.plot_Rt_types() was removed by commit 88328a4 which adds functions for computing the daily Rts. There are still several places in sim/experiments.ipynb that call plotter.plot_Rt_types(). Is the new function plotter.plot_daily_rts() intended to replace plotter.plot_Rt_types()?

Hello,
That is indeed a bug introduced in this commit. We updated the way effective reproduction numbers are computed to report these estimates on the updated version of our paper but I missed them in sim/experiments.ipynb. Thank you for pointing this out and apologies. This should now be fixed in 89b7b5d.