Skip to main content
Sandbox Physics

E40 · Crystal diffraction

Precession Diffraction: From Spots to Grains

Precess a nanobeam around a specimen pivot, compensate its motion below the foil and record a diffraction pattern at every scan position. Index the stored patterns against a small declared library and inspect where confidence fails.

Interactive modelPrecession Diffraction: From Spots to Grains
Selected stored detector counts—\text{—}
Selected counts outside central mask—\text{—}
Indexed selected orientation—\text{—}
Indexed share of stored positions—\text{—}
Selected similarity margin—\text{—}
Mean similarity margin across raster—\text{—}
Forward reflection-share mismatch—\text{—}
Raster field width—\text{—}
Stored count cube as float64—\text{—}
Experiment target—\text{—}

Physics tutorial

Precession Diffraction: From Spots to Grains

BackgroundPrecess a nanobeam around a specimen pivot, compensate its motion below the foil and record a diffraction pattern at every scan position. Index the stored patterns against a small declared library and inspect where confidence fails.

Why it mattersTarget: enable descan, use 5–15 mrad precession and a scan step at most 30 nm. Index at least 90 percent of stored positions with mean similarity margin at least 0.4. At the selected grain keep the forward reflection-share mismatch at most 0.12; this is a model diagnostic, not an accuracy certificate.

Start with the essentials

Focus question
Can averaging incident directions make grain orientations easier to identify?
One-sentence intuition
Precession integrates many excitation conditions; descan keeps them on a common detector coordinate system. Grain colors become an inference only when they are computed from recorded patterns, with low-count and low-confidence positions allowed to remain unindexed.

Core mathematical model

Elastic beam conservation

idψdz=Hψ,H=H†i\frac{d\boldsymbol\psi}{dz}=H\boldsymbol\psi,\quad H=H^\dagger

A finite Hermitian star Hamiltonian exchanges elastic amplitude. It omits diffracted-to-diffracted coupling.

Precession at fixed fluence

Iˉg=1256∑m=0255∣ψg(t;ϕm)∣2\bar I_g=\frac1{256}\sum_{m=0}^{255}|\psi_g(t;\phi_m)|^2

Incident directions are averaged, so enabling precession does not multiply the exposure by 256.

Stored-pattern confidence

q=cbest−cnextcbestq=\frac{c_{best}-c_{next}}{c_{best}}

Cosine similarities exclude the central beam. This margin is not a posterior probability.

Common difficulties

Read the model boundary

Typical misconceptionA clean image or confident orientation removes the need to check the scattering model.

Better mental modelPrecession integrates many excitation conditions; descan keeps them on a common detector coordinate system. Grain colors become an inference only when they are computed from recorded patterns, with low-count and low-confidence positions allowed to remain unindexed.

Run the experiment

  1. 01

    Predict spot motion

    Enable precession, then disable and restore descan at equal incident counts.

    What to observe: Uncompensated spot motion blurs patterns and can leave the detector window.
  2. 02

    Index the stored cube

    Move the stored row and column. Raise the similarity threshold without changing acquisition.

    What to observe: Rejected positions turn gray; the specified reference remains separate.
  3. 03

    Test the limits

    Compare the thick-foil and low-count presets, then reach the target.

    What to observe: A well-indexed grain can still have dynamical intensity mismatch.