updated short range message for P(I) one infected
This commit is contained in:
parent
52615b1cfb
commit
a91ef8f953
2 changed files with 1 additions and 2 deletions
|
|
@ -144,7 +144,7 @@
|
|||
{% if form.short_range_option == 'short_range_yes' %}:
|
||||
<ul>
|
||||
<li><b>{{ long_range_prob_probabilistic_exposure | non_zero_percentage }}</b>, assuming all occupants are exposed equally (i.e. without short-range interactions).</li>
|
||||
<li><b>{{ prob_probabilistic_exposure | non_zero_percentage }}</b>, assuming short-range interactions occur.</li>
|
||||
<li><b>{{ prob_probabilistic_exposure | non_zero_percentage }}</b>, assuming short-range interactions occur with the infector(s).</li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<b>{{ prob_probabilistic_exposure | non_zero_percentage }}</b>.
|
||||
|
|
|
|||
|
|
@ -1483,7 +1483,6 @@ class ExposureModel:
|
|||
self, {'concentration_model.infected.number': num_infected}
|
||||
)
|
||||
prob_ind = exposure_model.infection_probability().mean() / 100
|
||||
print(prob_ind)
|
||||
n = total_people - num_infected
|
||||
# By means of the total probability rule
|
||||
prob_at_least_one_infected = 1 - (1 - prob_ind)**n
|
||||
|
|
|
|||
Loading…
Reference in a new issue