june.infection.symptoms

class june.infection.symptoms.Symptoms(health_index=None)
__init__(health_index=None)

Initialize self. See help(type(self)) for accurate signature.

_compute_time_from_infection_to_symptoms()
_make_symptom_trajectory(health_index)
update_trajectory_stage(time_from_infection)

Updates the current symptom tag from the symptoms trajectory, given how much time has passed since the person was infected.

time_from_infection: float

Time in days since the person got infected.

property dead
max_severity
max_tag
property recovered
stage
tag
property time_exposed
time_of_symptoms_onset
trajectory
june.infection.symptoms.random() → x in the interval [0, 1).