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).
Inherits all fields from
BaseModelParams. Each tick
represents 14 days, and the model tracks three SIR states (no explicit
Exposed compartment).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
num_ticks
|
int
|
Number of biweekly simulation steps (e.g., 26 ≈ 1 year, 130 ≈ 5 years). |
required |
seed
|
int
|
Random seed for reproducibility. Default: |
required |
start_time
|
str
|
Simulation start in |
required |
verbose
|
bool
|
Print detailed logging. Default: |
required |
Example:
1 2 3 | |
laser.measles.biweekly.params.BiweeklyParams.states
property
SIR state names: ["S", "I", "R"].
laser.measles.biweekly.params.BiweeklyParams.time_step_days
property
Duration of one tick in days (always 14 for the biweekly model).