An interactive crash course for physicists

Making Sense of Noise

Power spectral densities, phase noise, Allan deviations, sensitivity in Hz/√Hz — the working language of every precision-measurement lab, and one of the most weirdly hard-to-learn corners of experimental physics. This course builds it from first principles: sines and cosines first, then modulation, then randomness, with live plots you can twiddle at every step.

Written for the smart experimental physicist who has stared at a spectrum analyzer, quoted a sensitivity, or read an Allan-deviation plot — and quietly felt that the underlying mathematics was a bit mysterious. No measure theory, no formal stochastic calculus. Every idea is introduced with a picture you can manipulate, every formula is checked against a simulation you can read the code of, and every chapter ends with exercises (with hidden solutions).

How to read this
Each chapter is self-contained but they build on each other; if you are new to the subject, go in order. The demos are the point — drag every slider and watch what moves. Hover over any plot to read off values. All simulations run live in your browser; the code snippets shown are essentially the code that generates the plots.
  1. CHAPTER 1 The pure tone Amplitude, frequency, phase. Phasors, the rotating-arrow picture, and what an ideal oscillator looks like in the time and frequency domains.
  2. CHAPTER 2 Wiggling the knobs: modulation Amplitude, phase and frequency modulation. Sidebands, the small-modulation limit, and why AM and PM look different on a spectrum analyzer.
  3. CHAPTER 3 From signals to noise: random processes Ensembles, averages, correlation functions. Stationarity and drift — and why "the variance" is sometimes not even defined.
  4. CHAPTER 4 The power spectral density The single most important tool in the book. Where PSDs come from, their units, one-sided vs two-sided, and how the area under the curve is the RMS noise you measure.
  5. CHAPTER 5 The colors of noise White, flicker (1/f), random walk (1/f²). A live noise machine: turn the spectral-slope knob and watch the time trace change character.
  6. CHAPTER 6 Noisy oscillators: amplitude, phase & frequency noise Sa(f), Sφ(f), Sν(f), ℒ(f) in dBc/Hz — how they relate, how to convert, and what each looks like on a spectrum analyzer.
  7. CHAPTER 7 Allan deviation and clock stability Why the ordinary variance fails for clocks, the two-sample fix, and reading the σy(τ) slopes: τ−1/2, flicker floor, random-walk rise, drift.
  8. CHAPTER 8 Sensitivity: what Hz/√Hz means Noise floors, integration time, and signal-to-noise. Why sensor sensitivities carry that strange per-root-hertz unit, with a magnetometer worked end to end.
  9. CHAPTER 9 Case study: LIGO and noise budgets Strain sensitivity curves, transfer functions, control loops, and how a real experiment stacks its noise sources into one plot.
  10. CHAPTER 10 Case study: phase-locked loops How a loop steals the best of two oscillators: block diagrams you can click, noise shaping by loop bandwidth, synthesizers and the 20 log N tax — and why an atomic clock is a lock loop with atoms as the reference.

What you will be able to do afterwards

Lab note
Everything here runs offline from local files, except the equation rendering (KaTeX) which loads from a CDN the first time.

References & further reading

The course follows the spirit (and often the examples) of a handful of sources, roughly one per layer of the subject: