Skip to main content
🧠5% 🤖95%

User guide

Each page of the user guide covers one topic in full, to read through or to look up as you need it. To learn Starsim from the start, begin with the tutorials. For the exact arguments of a function, see the API.

Introduction

  • What is Starsim?: what it is for, when to use it instead of code of your own, and models built with it
  • Conceptual overview: how the parts of a model fit together
  • FAQ: short answers, with links

Building models

Populations and data

Interventions and analyzers

  • Products: vaccines, treatments, and diagnostics
  • Interventions: delivering products, and changing parameters during a run
  • Analyzers: results the other modules don’t keep
  • Connectors: diseases that interact, and other links between modules

Running models

Calibration

Library

Mechanics

Architecture

How Starsim works inside: for contributors, and for anyone curious. No model needs these pages.

TipRunning the user guide locally

The pages are in docs/user_guide in the Starsim repository. Clone it, install Starsim (pip install -e .), and open them in Jupyter (jupyter lab, with jupytext installed to open .qmd files directly).