june.infection.trajectory_maker.TrajectoryMaker

class june.infection.trajectory_maker.TrajectoryMaker(*stages)

Generate trajectories of a particular kind.

This defines how a given person moves through a series of symptoms.

stages

A list of stages through which the person progresses

__init__(*stages)

Generate trajectories of a particular kind.

This defines how a given person moves through a series of symptoms.

stages

A list of stages through which the person progresses

classmethod from_dict(trajectory_dict)
generate_trajectory() → List[Tuple[float, june.infection.symptom_tag.SymptomTag]]

Generate a trajectory for a person. This is a list of tuples describing what symptoms the person should display at a given time.

property _symptoms_tags
property most_severe_symptoms

The most severe symptoms experienced at any stage in this trajectory