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.
Attributes:
| Name | Type | Description |
|---|---|---|
num_ticks |
int
|
Number of daily simulation steps (e.g., 365 = 1 year). |
seed |
int
|
Random seed for reproducibility. Default: |
start_time |
str
|
Simulation start in |
verbose |
bool
|
Print detailed logging. Default: |
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).