Skip to content

laser.measles.compartmental.params

laser.measles.compartmental.params

Parameters for the compartmental SEIR model with daily timesteps.

laser.measles.compartmental.params.CompartmentalParams

Bases: BaseModelParams

Parameters for the compartmental SEIR model with daily timesteps.

All fields are inherited from :class:BaseModelParams. Key fields:

Attributes:

Name Type Description
num_ticks int

Number of daily simulation steps (e.g., 365 = 1 year).

seed int

Random seed for reproducibility. Default: 20250314.

start_time str

Simulation start in "YYYY-MM" format. Default: "2000-01".

verbose bool

Print detailed logging. Default: False.

Example::

1
2
params = CompartmentalParams(num_ticks=365, seed=42)
params = CompartmentalParams(num_ticks=730, seed=0, start_time="2010-01")