metawards.Populations¶
-
class
metawards.
Populations
(_trajectory: List[metawards._population.Population] = None)[source]¶ This class holds the trajectory of Population objects recorded for every step (day) of a model outbreak
-
__init__
(_trajectory: List[metawards._population.Population] = None) → None¶
Methods
__init__
(_trajectory)append
(population)Append the next step in the trajectory. -
append
(population: metawards._population.Population)[source]¶ Append the next step in the trajectory.
Parameters: population (Population) – The population to append to this list
-