untethered atom · TEM

CBED Thickness Tool

The microscope already told you the thickness. This just makes it say it in nanometers.

Upload a two-beam CBED pattern (JPG, PNG, TIFF 8/16/32-bit, or Velox EMD), mark the 000 and hkl disc centres, and the tool detects the Kossel–Möllenstedt fringe minima and fits the Kelly–Allen extrapolation: lamella thickness t with uncertainty, plus the extinction distance ξg. Everything runs in your browser; the image never leaves your machine. The theory behind every step lives in the companion CBED & lamella-thickness schematic.

Load a CBED pattern (JPG · PNG · TIFF 8/16/32-bit · Velox EMD) or try the demo.
display

1 Mark the two discs

Click the button, then click the disc centre on the image. Drag markers (or the ring handle ◆) to refine. Scroll = zoom, drag empty area = pan.

2 Fringe detection

Dark-fringe markers: drag to refine · alt-click the profile to add · double-click a marker to delete · drag the green s = 0 line onto the bright central fringe.

3 Physics inputs

λ = pm
or

4 Kelly–Allen fit

n₁ assignment:

5 Overlay style

Templates

The active style applies to the pattern view and the exported PNG, same as the SAED indexer. Download templates as a .json to reuse or share them; load the file in a future session to get them back.

Intensity profile along 000 → hkl (band-averaged)

Kelly–Allen extrapolation  (si/ni)² vs (1/ni)²

What an ideal pattern looks like (for the easiest measurement)

✓ ideal separated · symmetric straight ✗ hard overlap · bent fringes saturated
  • Clean two-beam: only 000 and one strong hkl disc; everything else faint (tilt using Kikuchi bands until the bright band sits in the hkl disc).
  • Discs clearly separated: convergence α ≈ 0.3–0.7 θB; the gap between disc edges should be comparable to a disc radius. Overlap (Kossel regime) makes the profile unreadable.
  • Bright s = 0 band near the disc centre with dark fringes symmetric on both sides: that symmetry is your check that the tilt is right.
  • ≥ 3 crisp dark fringes per side (t ≈ 2–5 ξg at that spot). Too few → move to a thicker area or a stronger (smaller-ξg) reflection; washed-out → thinner area or zero-loss filtering.
  • Straight, parallel fringes perpendicular to the 000→hkl line: probe on a flat, unbent, unstrained region.
  • Sharp disc edges (diffraction focus) and no saturation in either disc (a clipped 000 disc flattens the profile top and shifts detected minima).
  • Flat dark background: zero-loss energy filtering if available; short exposure sum beats one long saturated frame.
  • Checked on your pattern, clipping: pixels at the top or bottom of the file’s integer range in the part of the hkl disc that is read are counted, because a clipped pixel has lost its true value (a float file has no fixed range and is not checked).
  • Checked, different n values: R² can only test n₁ when the fringes give 3 or more different n, because a straight line always passes through two groups of points.
  • Checked, uncertainty: the 95% range of t from the scatter of the points, with the Student t factor for N − 2 spare points (NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.6.7.2); a range with no upper limit is flagged. It does not include errors in d, the voltage or n₁.
  • Checked, extinction distance: without a tabulated ξg, n₁ rests on the straightness of the line alone, so the t from the neighbouring n₁ is shown (Kelly et al. 1975; Allen 1981).
  • Fringe positions: fringes are found on the smoothed profile, then each one is placed by a weighted cubic fit to the unsmoothed profile across its dip. Smoothing alone moves an uneven dip outward by a fraction of a pixel, because the bright fringe outside each dark fringe is weaker than the one inside. A mark you add or drag by hand is not moved by this fit.
  • Automatic n₁: dark fringes come in mirror pairs about s = 0. So a mark within 3 px of s = 0, or one less than a third as far out as the next mark with no partner on the other side, is the dark centre and is left out. This keeps n counting the same fringes on both sides. Two marks within 3 px, one on each side at the same distance, are kept: they are the first pair of fringes. Then n₁ is the one whose fitted ξg is closest to the tabulated ξg (Kelly et al. 1975; Allen 1981), or, with none entered, the one with the straightest line, every mark’s position counted equally. n₁ from 1 to 20 is tried.
  • Checked, fit against marks: dark fringes sit where t·seff is a whole number, so the first one from s = 0 has the smallest whole n at or above t/ξg; a predicted fringe inside the first mark is flagged, unless a mark left out as the dark centre is there.
  • Checked, sampling: the fringe spacing the fit predicts at the edge of the disc; a repeat shorter than 2 pixels cannot be recorded.

Checked (October 2026). The built-in demo is a two-beam Al 200-type disc computed for t = 260 nm and ξg = 75 nm at 200 kV. The fringe finder and the Kelly-Allen fit return t = 260 ± 1 nm and ξg = 75 nm with R² = 1.0000 and n1 = 4 picked automatically. The fit is the (si/ni)² against (1/ni)² line of Kelly et al. 1975 with the treatment of the first fringe order from Allen 1981.

Physics: dark fringes at t·seff = n with seff = √(s² + 1/ξg²); si = (xi/X)·λ/d² (self-calibrating: camera length cancels); plot (si/ni)² vs (1/ni)²: intercept = 1/t², slope = −1/ξg². Companion pages: CBED & lamella thickness (the theory, interactive) · back focal plane & diffraction focus. References: P. M. Kelly et al., The determination of foil thickness by scanning transmission electron microscopy, Phys. Status Solidi A 31, 771–780 (1975); S. M. Allen, Foil thickness measurements from convergent-beam diffraction patterns, Philos. Mag. A 43, 325–335 (1981); D. B. Williams and C. B. Carter, Transmission Electron Microscopy, 2nd ed., Springer (2009), chapter 21 (thickness determination); NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.6.7.2 (Student t critical values). Decoders: UTIF.js (MIT), jsfive (BSD), pako (MIT), inlined; no network needed.

Cite this page: Tripathy, Manisha. “CBED Thickness Tool.” untethered atom, 2026, https://untetheredatom.com/tem/cbed-thickness-tool.
BibTeX
@misc{tripathy2026cbedthicknesstool,
  author = {Tripathy, Manisha},
  title  = {CBED Thickness Tool},
  year   = {2026},
  howpublished = {\url{https://untetheredatom.com/tem/cbed-thickness-tool}},
  note   = {Interactive web tool}
}
Last updated 16 October 2026.