Welcome to Epydemix’s Documentation!
The source code for Epydemix is available on GitHub: Epydemix Repository.

Epydemix is a Python package for epidemic modeling. It provides tools to create, calibrate, and analyze epidemic models, allowing users to simulate the spread of infectious diseases using different compartmental models, contact layers, and calibration techniques.
Features:
Define and simulate compartmental models (e.g., SIR, SEIR).
Integrate real-world population data with contact matrices.
Calibrate models using Approximate Bayesian Computation (ABC).
Visualize simulation results with built-in plotting tools.
Extensible framework for modeling interventions and policy scenarios.
Installation
To install Epydemix, use the following command:
pip install epydemix
Get started
We provide a series of tutorials to help you get started with Epydemix:
API Reference
- epydemix.calibration package
- epydemix.model package
- epydemix.population package
- epydemix.utils package
- Submodules
- epydemix.utils.abc_smc_utils module
- epydemix.utils.utils module
apply_initial_conditions()
apply_overrides()
combine_simulation_outputs()
compute_days()
compute_simulation_dates()
convert_to_2Darray()
create_definitions()
evaluate()
format_simulation_output()
generate_unique_string()
is_iterable()
is_scalar()
resize_parameter()
str_to_date()
validate_parameter_shape()
- Module contents
- epydemix.visualization package