Skip to main content
Sandbox Physics

E37 · Electron imaging

4D-STEM: One Scan, Many Virtual Images

Move the probe between two grains, inspect its recorded diffraction frame, then rotate a virtual detector after acquisition. Resolve the disks to recover orientation and lattice dilation from the same counts. Balance convergence, camera length, scan sampling, dose and data size.

Interactive model4D-STEM: One Scan, Many Virtual Images
Four data axes—\text{—}
Stored count cube—\text{—}
Selected acquired coordinate—\text{—}
Selected frame · recorded counts—\text{—}
Recovered orientation—\text{—}
Recovered lattice dilation—\text{—}
Expected detector coverage—\text{—}
Valid lattice estimates—\text{—}
Right-minus-left virtual contrast—\text{—}
Incident scan dose—\text{—}
Experiment target—\text{—}

Physics tutorial

Four axes, one measurement history

BackgroundA scanning probe has two specimen coordinates. The pixelated detector records two angular coordinates at every probe position. Keeping all four axes lets the same acquisition answer several questions.

Why it mattersA conventional detector discards angles during acquisition. A virtual detector chooses them afterward, but it cannot restore clipped angles, insufficient counts or unrecorded scan positions.

Start with the essentials

Focus question
What can one diffraction frame per probe position reveal?
One-sentence intuition
Changing a virtual aperture changes the sum of recorded pixels, not the electron exposure. Orientation and scalar dilation are inferred from measured disk positions, subject to separation, angular sampling and counting limits.

Core mathematical model

Four independent data axes

Dijmn=D(xi,yj,θx,m,θy,n)D_{ijmn}=D(x_i,y_j,\theta_{x,m},\theta_{y,n})

The first two axes locate the probe; the last two locate a detector pixel. The readout reports actual stored uint32 memory, excluding metadata and compression.

A virtual detector sums acquired counts

Vij=∑m,nMmnDijmn,Mmn∈{0,1}V_{ij}=\sum_{m,n}M_{mn}D_{ijmn},\qquad M_{mn}\in\{0,1\}

The green mask selects complete recorded detector pixels. A central mask gives bright field; a displaced mask selects one first-order disk. Mask boundaries are pixelated, not a continuous physical aperture.

Camera length converts angle to position

r=Lθ,θB≃λar=L\theta,\qquad \theta_B\simeq\frac{\lambda}{a}

The detector spans 12 mm. Increasing effective camera length improves angular sampling while reducing angular coverage. Here a square lattice is represented by the direct beam and four assumed first-order disks.

Scalar dilation from four Bragg centroids

ε=θB,refθ‾B,meas−1\varepsilon=\frac{\theta_{B,\mathrm{ref}}}{\overline{\theta}_{B,\mathrm{meas}}}-1

An expanding lattice moves reciprocal-space disks inward. The fourfold angular moment estimates orientation modulo 90 degrees; four count-weighted centroids give a mean radius. This is an isotropic toy estimate, not a full strain tensor.

Dose and storage scale differently

Ne=Iτe,d=NeNxNyAS=4NxNyNθxNθy bytes\begin{gathered}N_e=\frac{I\tau}{e},\qquad d=\frac{N_eN_xN_y}{A}\\ S=4N_xN_yN_{\theta x}N_{\theta y}\ \mathrm{bytes}\end{gathered}

Finer scans add probe exposures and stored frames. Moving the inspection coordinate or virtual mask reuses the existing cube. Animation does not collect additional electrons.

Common difficulties

A cube is not a larger image

Typical misconceptionFour-dimensional STEM is one high-resolution two-dimensional picture.

Better mental modelTwo axes describe scanning and two describe scattering. Collapsing the detector axes with different masks produces different images from the same data.

Convergence is a tradeoff

Typical misconceptionA tighter real-space probe always gives more precise strain.

Better mental modelLarger convergence spreads reciprocal-space disks. The probe can become narrower while Bragg disks overlap and lattice-position inference fails.

Run the experiment

  1. 01

    Predict which grain a mask selects

    Start with Resolve · select left grain. Move the probe to each side and inspect the recorded frame.

    What to observe: The disk pattern rotates and contracts in the right grain. Its orientation and dilation come from the selected counts.
  2. 02

    Reuse the cube

    Rotate the virtual dark-field mask from 0 to 30 degrees; compare with the right-grain preset and central bright-field mask.

    What to observe: Dark-field contrast switches grain. The underlying diffraction frames, dose and memory stay fixed.
  3. 03

    Break the inference deliberately

    Compare overlapping disks, clipped diffraction and sparse low-count acquisition.

    What to observe: Overlapping or truncated disk support invalidates lattice estimates. A visually bright partial frame does not restore missing information.
  4. 04

    Complete the target

    Find the stated coverage, valid fraction, scan step, dwell and dark-field contrast, then check.

    What to observe: A passing target demonstrates this acquisition and estimator; it does not certify real material strain or orientation.