We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03691bd commit 8d2cdcbCopy full SHA for 8d2cdcb
src/penn_chime/models.py
@@ -36,7 +36,6 @@ def __init__(self, p: Parameters):
36
n_days_since = (p.current_date - p.date_first_hospitalized).days
37
logger.debug(
38
"%s: %s - %s = %s days",
39
- datetime.now(),
40
p.current_date, p.date_first_hospitalized,
41
n_days_since)
42
self.n_days_since = n_days_since
@@ -55,7 +54,7 @@ def __init__(self, p: Parameters):
55
54
# We're appoximating infected from what we do know.
56
# TODO market_share > 0, hosp_rate > 0
57
infected = (
58
- p.current_hospitalized / p.market_share / p.hospitalized.rate
+ 1 / p.market_share / p.hospitalized.rate
59
)
60
61
susceptible = p.population - infected
0 commit comments