lifeof_recorder#
- class lifeof_recorder(**kwargs)[source]#
Bases:
Analyzer
Analyzer 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_list
List of "automatic" states with boolean type (ss.BoolState) that were added via define_states()
dt
Get the current module timestep
now
Shortcut to self.t.now()
state_dict
Return a flat dictionary (objdict) of all states
state_list
Return a flat list of all states (ss.Arr objects)
ti
Get the current module timestep
timevec
Shortcut to self.t.timevec
Methods