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.
Inherits all fields from
BaseModelParams. Each tick
represents one day, and the model tracks four SEIR states.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
num_ticks
|
int
|
Number of daily simulation steps (e.g., 365 = 1 year). |
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.compartmental.params.CompartmentalParams.states
property
SEIR state names: ["S", "E", "I", "R"].
laser.measles.compartmental.params.CompartmentalParams.time_step_days
property
Duration of one tick in days (always 1 for the compartmental model).