Tutorials
These tutorials walk through how to use HPVsim. Work through them in order if you are new: each one builds on the last, and each runs end to end as written.
Every code block on these pages is executed when the documentation is built, so what you read is what the current version produces. To run them yourself, install HPVsim (pip install hpvsim) and copy the blocks into a script or a notebook of your own.
- T1 - Getting started
- T2 - Plotting, printing, and saving
- T3 - Running scenarios
- T4 - People, populations, and networks
- T5 - Using interventions
- T6 - Using analyzers
- T7 - Calibration
- T8 - HIV co-infection
- T9 - HPV latency
Once you are comfortable with the workflow, the user guide explains how each part of the model works and how to change it.