Skip to content

laser.measles.biweekly.params

laser.measles.biweekly.params

Parameters for the biweekly model.

laser.measles.biweekly.params.BiweeklyParams

Bases: BaseModelParams

Parameters for the biweekly compartmental measles model (14-day timesteps).

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

Attributes:

Name Type Description
num_ticks int

Number of biweekly (14-day) simulation steps (e.g., 26 = 1 year, 130 = 5 years).

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
3
params = BiweeklyParams(num_ticks=26, seed=42)           # 1 year
params = BiweeklyParams(num_ticks=130, seed=0)           # 5 years
params = BiweeklyParams(num_ticks=260, start_time="2005-01")  # 10 years