laser.measles.abm.components.tracker_population
tracker_population
PopulationTracker(model, params=None)
Bases: BasePopulationTracker
Tracks the population size of each patch at each time tick.
The recorded series lives on tracker.population_tracker (shape
(n_patches, n_ticks)) after model.run(). Sum across the patch
axis for the global population time series.
Examples:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
PopulationTrackerParams
Bases: BasePopulationTrackerParams
Parameters for PopulationTrackerParams (inherits all fields from base).
Examples:
1 2 3 | |