analyzers#

Specify the core analyzers available in FPsim. Other analyzers can be defined by the user by inheriting from these classes.

Classes

Analyzer

Base class for analyzers.

snapshot

Analyzer that takes a "snapshot" of the sim.people array at specified points in time, and saves them to itself.

cpr_by_age

method_mix_by_age

age_pyramids

Records age pyramids for each timestep.

lifeof_recorder

Analyzer records sexual and reproductive history, and contraceptions females, plus age and living status for all timesteps.

track_as

Analyzer for tracking age-specific results

education_recorder

Analyzer records all education attributes of females + pregnancy + living status for all timesteps.

state_tracker

Records the number of living women on a specific boolean state (eg, numbe of living women who live in rural settings)

method_mix_over_time

Tracks the number of women on each method available for each time step