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.

Once you are comfortable with the workflow, the user guide explains how each part of the model works and how to change it.