june.infection.trajectory_maker.Stage¶
-
class
june.infection.trajectory_maker.
Stage
(*, symptoms_tag: june.infection.symptom_tag.SymptomTag, completion_time: june.infection.trajectory_maker.CompletionTime = <class 'june.infection.trajectory_maker.ConstantCompletionTime'>) A stage on an illness,
- symptoms_tag
What symptoms does the person have at this stage?
- completion_time
Function that returns value for how long this stage takes to complete.
-
__init__
(*, symptoms_tag: june.infection.symptom_tag.SymptomTag, completion_time: june.infection.trajectory_maker.CompletionTime = <class 'june.infection.trajectory_maker.ConstantCompletionTime'>) A stage on an illness,
- symptoms_tag
What symptoms does the person have at this stage?
- completion_time
Function that returns value for how long this stage takes to complete.
-
classmethod
from_dict
(stage_dict)