Total scattering
Keep the diffuse scattering that a Rietveld refinement throws away, measure it out to high momentum transfer, and Fourier transform. What comes back is not a diffraction pattern but a picture of real space: a curve whose peaks sit at the distances that actually occur in the sample, whether or not that sample has any long-range order at all.
A crystallographic refinement uses the intensity under the Bragg peaks. That intensity reports the periodic average of the structure — what you would see if every unit cell were identical. Everything that makes cells differ from one another, which is to say the local structure, scatters between the peaks, as diffuse intensity that a conventional analysis subtracts as background.
Total scattering keeps it all. You measure the entire pattern — Bragg peaks and diffuse alike — correct it properly, put it on an absolute per-atom scale, and transform it. Nothing about that procedure requires the sample to be crystalline, which is why the same analysis works on a glass, a melt, a nanoparticle suspension and a well-ordered crystal.
The one thing it does demand is range. Real-space resolution is set by how far out in momentum transfer you measured, Δr ≈ π/Qmax, and Q = 4πsinθ/λ is capped by your wavelength. This single number decides whether a source is usable:
| Source | λ | Qmax limit | Verdict |
|---|---|---|---|
| Cu Kα lab tube | 1.542 Å | 8.2 Å−1 | Unusable for PDF — Δr ≈ 0.4 Å |
| Mo Kα lab tube | 0.711 Å | 17.7 Å−1 | Workable; the standard lab PDF setup |
| Ag Kα lab tube | 0.561 Å | 22.4 Å−1 | Good lab data |
| Synchrotron, 60–100 keV | 0.21–0.12 Å | 25–35 Å−1 in practice | Detector coverage, not λ, is the limit |
| Spallation neutrons, TOF | white beam | 40–50 Å−1 | The highest Qmax available |
Time-of-flight neutron instruments have a structural advantage here: detector banks at different angles each cover their own Q range, and the whole white beam contributes, so a single measurement spans a very wide Q with good counting statistics at the top end — exactly where the sharpest real-space features come from.
A PDF computed from Bragg intensities alone is not wrong — it is simply the PDF of the average structure. Comparing it with the measured total-scattering PDF is one of the cleanest ways to see local structure that the average has hidden.
Stand on an atom. Count how many atom centres lie in a thin shell between r and r+dr. Divide by the volume of that shell to get a local number density ρ(r), then repeat for every atom in the sample and average. Compare the result with the bulk number density ρ0:
That is the whole definition. G(r) is a histogram of interatomic distances, weighted by how strongly each kind of atom scatters, with the average density subtracted off so that it oscillates about zero instead of growing without bound.
Three consequences are worth memorising.
Because the definition never mentions symmetry, translation or a unit cell, there is no structural prerequisite whatsoever. A liquid has a pair distribution function; so does a protein solution, a 2 nm nanocrystal and a piece of quartz.
The literature contains at least six closely related real-space functions and several conventions for the reciprocal-space ones. They differ by factors of r, by whether the average density has been subtracted, and by normalisation. Papers frequently fail to say which they used. The reliable move is to check the low-r behaviour of any published curve: it identifies the function immediately.
| Function | Definition | Below the first peak |
|---|---|---|
| g(r) | ρ(r)/ρ0 | → 0; oscillates about 1 |
| G(r) | 4πr[ρ(r) − ρ0] = 4πrρ0[g(r)−1] | the line −4πrρ0 |
| R(r) | 4πr²ρ(r) = rG(r) + 4πr²ρ0 | → 0; area under a peak = N |
| T(r), D(r) | Keen's forms, differing by factors of r and 4πρ0 | varies — check the paper |
| S(Q) | normalised total scattering structure function | → 1 as Q → ∞ |
| F(Q) | Q[S(Q) − 1] | oscillates about 0 |
The transform that links the two halves is a sine transform:
Note that it is Q[S(Q)−1] that gets transformed, not S(Q) itself. The factor of Q does the same job as k-weighting in EXAFS: the oscillations in S(Q) decay with Q, and multiplying by Q gives the high-Q data — which carry the sharpest real-space information — a fair share of the transform. It also means that noise at high Q is amplified, which is why counting statistics up there matter so much.
If you take one habit from this page: before believing any PDF, look at the region below the shortest bond length and check that it is a straight line through the origin with slope −4πρ0. Ripples there mean bad corrections, a wrong normalisation, or too small a Qmax — and every number you refine afterwards inherits the error.
The same logic runs backwards. Because the transform is its own inverse up to constants, a feature you do not believe in G(r) can be traced to the part of F(Q) that produced it. Fitting programs exploit this by comparing model and data in both spaces.
A sample with more than one element does not have one pair distribution function; it has one for every pair of element types. What you measure is a single weighted sum of them:
with c the atomic fractions and b the scattering power. The weights always sum to one. Everything that distinguishes a neutron measurement from an X-ray measurement of the same material lives in that b.
For neutrons, b is the coherent nuclear scattering length: a property of the nucleus, tabulated in femtometres, and — because the nucleus is a point on the scale of the neutron wavelength — completely independent of Q. It varies erratically from element to element, it differs between isotopes of the same element, and it can be negative. Light atoms scatter as strongly as heavy ones.
For X-rays, b becomes the atomic form factor f(Q): the Fourier transform of the atom's electron density. It equals Z at Q = 0 and falls off as Q rises. Two things follow. Heavy elements dominate, quadratically — a Pb–Pb pair outweighs an O–O pair by a factor of a hundred. And the weighting is not constant across the pattern, so the effective partial mixture drifts as Q increases; the Faber–Ziman normalisation by 〈f(Q)〉² removes most, not all, of that drift.
| Element | bcoh / fm | Z | Consequence |
|---|---|---|---|
| H | −3.74 | 1 | Negative, and enormous incoherent cross-section — deuterate |
| D | +6.67 | 1 | Well behaved; invisible to X-rays either way |
| Li | −1.90 | 3 | Negative; essentially invisible to X-rays |
| O | +5.80 | 8 | A strong neutron scatterer; weak next to any heavy metal in X-rays |
| Ti | −3.44 | 22 | Ti–O peaks point down in a neutron PDF |
| Mn | −3.73 | 25 | Same, and hard to tell from Fe with X-rays |
| V | −0.38 | 23 | Almost no coherent signal — hence vanadium sample cans |
| Ni | +10.30 | 28 | 58Ni +14.4, 62Ni −8.7: the classic isotope-substitution pair |
| W | +4.86 | 74 | A modest neutron scatterer that dominates any X-ray PDF |
Values are the standard tabulated coherent scattering lengths (Sears, Neutron News 3, 26, 1992). Check them against the current tables before using them in anger.
The practical upshot: neutrons for light atoms, for oxygen and hydrogen positions, for magnetic structure, and for isotope contrast; X-rays for heavy elements, for small samples, for speed, and for anything in situ that needs a beam you can focus to a few microns. Measuring both on the same sample and fitting them together is stronger than either alone, because the two datasets weight the same partials differently.
Element contrast can be pushed further. Isotopic substitution with neutrons and resonant (anomalous) scattering near an absorption edge with X-rays both change one element's b while leaving the structure alone; differencing the two datasets isolates the partials involving that element. Both are expensive and both need very good data, because you are subtracting two large numbers to get a small one.
Bars show each pair's share of the total signal, positive to the right of the centre line and negative to the left, scaled to the largest weight in the compound. Weights sum to 100% in both columns. X-ray weights use f(0) = Z; at finite Q they shift somewhat toward the lighter elements.
The transform integral runs from zero to infinity. Your data do not. Four instrumental facts leave their fingerprints on every G(r), and recognising them is most of what separates a careful practitioner from an enthusiastic one.
The simulator below computes the whole chain for an ideal crystal — shell distances and multiplicities from the lattice, F(Q) from the Debye sum, G(r) by numerical sine transform — separately for neutrons and for X-rays.
Things worth trying. Choose Ni and note that the neutron and X-ray panels are identical: for a single-element material the weights cancel exactly and the two radiations must give the same PDF. Then choose LiF, where the Li–F weight is negative for neutrons and positive for X-rays, so the first peak points in opposite directions. Then drop Qmax to 10 and watch ripples appear around every peak — including in the region below the first bond, where you know there is nothing.
Two quite different strategies exist, and choosing between them is really a choice about how many parameters your data can support.
Small-box modelling — often called real-space Rietveld — refines a unit cell against G(r). You adjust lattice parameters, atomic positions, anisotropic displacement parameters, a scale factor, the correlated-motion parameter δ1 or δ2, and, for a nanomaterial, a particle diameter. This is what PDFgui, Diffpy-CMI and TOPAS do. It is quantitative, the parameters mean something, and the goodness of fit Rw is comparable between models of the same data.
Big-box modelling — Reverse Monte Carlo, as implemented in RMCProfile — moves tens of thousands of atoms in a large supercell until the calculated G(r), S(Q) and Bragg profile all match simultaneously. The output is an atomic configuration rather than a parameter list, and you interrogate it afterwards for bond-angle distributions, polyhedral tilts, local ordering. It has vastly more degrees of freedom than the data constrain, so the honest use of RMC is to ask what configurations are consistent with the data, never to claim it has found the structure.
The single most useful trick in the whole method: refine the same model over different r ranges. A fit over 1–10 Å reports the local structure; a fit over 20–50 Å approaches the crystallographic average. If the two disagree — a larger local lattice parameter, a distortion that only appears at short r — that disagreement is the physics, and it is precisely what Bragg analysis alone cannot see.
Sanity checks that catch most mistakes: the low-r baseline must be the straight line; the refined scale factor should be near one if your normalisation was right; Qdamp must come from a standard rather than floating freely, since it correlates strongly with displacement parameters; and a fit that looks excellent over 1–5 Å but drifts systematically above 20 usually means a wrong Qdamp or an unmodelled particle-size effect, not new physics.
| Question | Bragg diffraction | Total scattering / PDF | EXAFS |
|---|---|---|---|
| what it reports | the periodic average structure | all interatomic distances, weighted | the neighbourhood of one element |
| element selective | partly, by contrast | no, without substitution | yes — you choose the edge |
| range | long-range order only | 1 Å to tens of nm | about 5 Å |
| needs a crystal | yes | no | no |
| distance precision | very high, on the average | ~0.005–0.01 Å | ~0.01–0.02 Å for the first shell |
| coordination number | from the model | from peak area, weighted | 10–20% at best |
PDF and EXAFS are genuinely complementary rather than competing: EXAFS knows which element it is standing on but sees only a few ångströms and struggles with coordination numbers; total scattering sees everything to much larger distances with reliable areas but cannot tell you which pair a peak belongs to. Materials problems that resist one very often yield to both.
Do what everyone does first: measure a nickel or silicon standard, reduce it, refine it in PDFgui, and get Qdamp and Qbroad for your instrument. You know the answer in advance, the whole pipeline gets exercised, and you cannot analyse anything else honestly until you have those two numbers.