Skip to main content

How to Use This Book

Each chapter consists of a page of text and a companion notebook. The notebook, named after the chapter with the suffix -code, computes every figure and table of the chapter, and the page embeds its outputs by their labels, so that every number in the text can be traced to the cell that produced it. The notebooks are generated by the build scripts in scripts/build and executed with scripts/build/run.py; the data on which they depend, and the simulations that produce the network outcomes, are described in data/README.md.

Each part opens with a chapter of foundations, which states the theory in the notation of the book and illustrates every method on a synthetic population whose structure is known, followed by chapters that apply the methods to measured data and to simulated networks. The chapters follow a common structure: the literature, the formulation of the problem with a table of notation, the methods, the results, a conclusion and exercises. Equations, figures and tables are numbered within each chapter and referenced across chapters.

Two kinds of box appear in the text.

Box Purpose
Remark A qualification of a result, such as the scope of a dataset or a simulation
Pitfall An error of method that produces a plausible but wrong result, and how to avoid it

The exercises at the end of each chapter ask the reader to change a stated cell of the notebook and to explain the change in its results.