Spatial models of measles implemented with the LASER toolkit.
Project description
laser-measles
laser-measles is a spatial epidemiological modeling toolkit that helps researchers and public health teams simulate measles transmission, evaluate vaccination strategies, and plan outbreak responses. It translates surveillance data and demographic information into projections that inform immunization planning and resource allocation — with a focus on settings where measles remains a leading cause of vaccine-preventable death.
Developed by the Institute for Disease Modeling (IDM) at the Bill & Melinda Gates Foundation, laser-measles is built on the open-source LASER framework.
Installation
pip install laser-measles
Recommended stable release: version 0.13 — the current validated and supported version:
pip install "laser-measles>=0.13,<1.0"
For development installation:
pip install -e ".[dev]"
Getting started
The recommended first example is the Quick Start Tutorial.
Model types
laser-measles provides three modeling approaches:
- ABM (Agent-Based Model): Individual-level simulation with stochastic agents and daily timesteps. Best for detailed heterogeneity and contact structure.
- Biweekly Compartmental Model: Population-level SIR dynamics with 2-week timesteps. Recommended for scenario building and policy analysis.
- Compartmental Model: Population-level SEIR dynamics with daily timesteps. Recommended for parameter estimation and outbreak modeling.
from laser.measles.abm import ABMModel, ABMParams
params = ABMParams(num_ticks=365, seed=42, start_time="2000-01")
model = ABMModel(scenario, params)
model.run()
Documentation
Full documentation is available at laser.idmod.org/laser-measles.
Contributing
Contributions are welcome. See CONTRIBUTING.md for development setup, testing, and submission guidelines.
Bug reports and feature requests can be filed on the GitHub issue tracker.
License
MIT License — Copyright (c) 2026, Gates Foundation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file laser_measles-0.13.3.tar.gz.
File metadata
- Download URL: laser_measles-0.13.3.tar.gz
- Upload date:
- Size: 119.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77fe59a3f48f71e73a115fd92fec6cd18c7b9044cd9a9a3d814d37ecce653eae
|
|
| MD5 |
875bd7001e28d7fa5f89bbddefcf4727
|
|
| BLAKE2b-256 |
810139401e80d0e36ceb61b448061a7bc611a29dc44806e47093f7baa30678eb
|
Provenance
The following attestation bundles were made for laser_measles-0.13.3.tar.gz:
Publisher:
publish-pypi.yml on laser-base/laser-measles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
laser_measles-0.13.3.tar.gz -
Subject digest:
77fe59a3f48f71e73a115fd92fec6cd18c7b9044cd9a9a3d814d37ecce653eae - Sigstore transparency entry: 1595795108
- Sigstore integration time:
-
Permalink:
laser-base/laser-measles@ad3ebca4b67365710496a2d19a414916c8cdd360 -
Branch / Tag:
refs/tags/v0.13.3 - Owner: https://github.com/laser-base
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@ad3ebca4b67365710496a2d19a414916c8cdd360 -
Trigger Event:
push
-
Statement type:
File details
Details for the file laser_measles-0.13.3-py3-none-any.whl.
File metadata
- Download URL: laser_measles-0.13.3-py3-none-any.whl
- Upload date:
- Size: 178.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c939324a4187639c0a46f54ecfcdf538ef3630b10bfdc87b267ae3eae3abc182
|
|
| MD5 |
f1176bb0fef606dc2a8ff60ef2fa071d
|
|
| BLAKE2b-256 |
cd041eba40ddc7bea9da1ed4c40b95428f044fecf5e1f07965a7ee1c47126942
|
Provenance
The following attestation bundles were made for laser_measles-0.13.3-py3-none-any.whl:
Publisher:
publish-pypi.yml on laser-base/laser-measles
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
laser_measles-0.13.3-py3-none-any.whl -
Subject digest:
c939324a4187639c0a46f54ecfcdf538ef3630b10bfdc87b267ae3eae3abc182 - Sigstore transparency entry: 1595795250
- Sigstore integration time:
-
Permalink:
laser-base/laser-measles@ad3ebca4b67365710496a2d19a414916c8cdd360 -
Branch / Tag:
refs/tags/v0.13.3 - Owner: https://github.com/laser-base
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@ad3ebca4b67365710496a2d19a414916c8cdd360 -
Trigger Event:
push
-
Statement type: