lifeof_recorder#
- class lifeof_recorder(**kwargs)[source]#
Bases:
AnalyzerAnalyzer records sexual and reproductive history, and contraceptions females, plus age and living status for all timesteps. Made for debugging purposes.
- Parameters:
args (list) – additional timestep(s)
kwargs (dict) – passed to Analyzer()
Attributes
auto_state_listList of "automatic" states with boolean type (ss.BoolState) that were added via define_states()
dtGet the current module timestep
nowShortcut to self.t.now()
state_dictReturn a flat dictionary (objdict) of all states
state_listReturn a flat list of all states (ss.Arr objects)
tiGet the current module timestep
timevecShortcut to self.t.timevec
Methods