Skip to content

laser.measles.abm.components.tracker_age_pyramid

tracker_age_pyramid

Age Pyramid Tracker

This component tracks the age distribution of the population.

AgePyramidTracker(model, params=None)

Bases: BasePhase

Track the age distribution of the population.

AgePyramidTrackerParams

Bases: BaseModel

validate_age_bins(v)

Validate that age_bins are in strictly increasing order.

validate_frequency(v)

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