age_pyramids#
- class age_pyramids(bins=None)[source]#
Bases:
Analyzer
Records age pyramids for each timestep.
- self.bins#
A list of ages, default is a sequence from 0 to max_age + 1.
- self.data#
A matrix of shape (number of timesteps, number of bins - 1) containing age pyramid data.
Methods