laser.measles.components.base_tracker_population
laser.measles.components.base_tracker_population
laser.measles.components.base_tracker_population.BasePopulationTracker(model, params=None)
Bases: BasePhase
Tracks the population size of each patch at each time tick.
After model.run(), the recorded time series is available as a numpy
array on the population_tracker attribute:
1 2 3 | |
Subclasses for ABM, biweekly, and compartmental models share this layout; see their docstrings for end-to-end examples that include the post-run access pattern.