dimension

dimension#

Dimension types for ODE compartments.

Classes

Dimension(*, name, bins)

A dimension of an compartment.

FullStratifiedImmuneHistoryDimension(strains)

A type of immune history which represents all possible unique infections.

ImmuneHistoryDimension(*, name, bins)

A dimension meant to track how a population's immunity changes after recovering from a disease.

LastStrainImmuneHistoryDimension(strains[, name])

Immune history dimension that only tracks most recent infection.

VaccinationDimension(max_ordinal_vaccinations)

A vaccination dimension of a compartment, supporting ordinal (and optionally seasonal) vaccinations.

WaneDimension(waiting_times, base_protections)

Dimension to tracking waning after recovery from a disease.