Skip to content

laser.measles.abm.components.tracker_age_pyramid

laser.measles.abm.components.tracker_age_pyramid

Age Pyramid Tracker

This component tracks the age distribution of the population.

laser.measles.abm.components.tracker_age_pyramid.AgePyramidTracker(model, params=None)

Bases: BasePhase

Track the age distribution of the population.

laser.measles.abm.components.tracker_age_pyramid.AgePyramidTrackerParams

Bases: BaseModel

laser.measles.abm.components.tracker_age_pyramid.AgePyramidTrackerParams.validate_age_bins(v)

Validate that age_bins are in strictly increasing order.

laser.measles.abm.components.tracker_age_pyramid.AgePyramidTrackerParams.validate_frequency(v)

Validate that frequency is one of yearly, monthly, or daily.