What is X-ray Photon Correlation Spectroscopy?¶
Learning Objectives
By the end of this section you will understand:
What XPCS measures and why coherent X-rays are essential
How speckle patterns encode dynamics
What two-time correlation functions reveal about particle motion
Why XPCS is particularly powerful for soft matter and complex fluids
—
Introduction¶
X-ray Photon Correlation Spectroscopy (XPCS) is a synchrotron-based technique that probes the dynamics of materials at nanometer length scales and microsecond-to-hour timescales. It is the X-ray analogue of Dynamic Light Scattering (DLS), but with access to much shorter wavelengths and consequently much smaller spatial scales.
XPCS is particularly suited for studying:
Colloidal suspensions and nanoparticle dynamics
Polymer melts and solutions
Gels and soft glasses undergoing aging
Complex fluids under shear (rheology-XPCS)
Structural dynamics near phase transitions
The Coherent X-ray Requirement¶
Conventional X-ray scattering (SAXS, WAXS) uses partially coherent beams and measures ensemble-averaged scattering intensities. The result is a smooth, time-averaged diffraction pattern that carries structural but not dynamical information.
XPCS uses a fully coherent X-ray beam, produced by undulator sources at third- and fourth-generation synchrotrons. When a coherent beam illuminates a disordered sample, the scattered intensity forms a speckle pattern: a seemingly random but reproducible arrangement of bright and dark spots.
Note
A speckle pattern is not noise. It is a deterministic fingerprint of the instantaneous microscopic configuration of scatterers in the beam. As particles move, the speckle pattern evolves in a measurable way.
The key insight is that the time evolution of the speckle pattern encodes the dynamics of the underlying particles. Fast-moving particles cause the speckle pattern to fluctuate rapidly; slow particles produce slow fluctuations; frozen structures produce a static speckle pattern.
From Speckles to Correlation Functions¶
XPCS quantifies speckle dynamics through intensity correlation functions. A pixel-area detector records a time series of speckle images. For each pixel at scattering vector q, the time-autocorrelation of the intensity is computed:
where \(t\) is the delay time and the angle brackets denote time averages. For an ergodic system in equilibrium, \(g_2\) depends only on the delay \(t\), not on the reference time \(t_0\).
The Siegert relation connects \(g_2\) to the normalized intermediate scattering function \(g_1\):
where \(\beta\) is the speckle contrast (0 to 1), determined by the coherence properties of the beam and the detector pixel size relative to the speckle size.
Two-Time Correlation Functions¶
The standard \(g_2(t)\) analysis assumes the system is stationary: dynamics do not change with time. Many real systems violate this assumption:
Gels and glasses undergo slow aging
Systems under shear may show transient rheological responses
Driven systems (e.g., cyclic loading) show periodic dynamics
The two-time correlation function \(C_2(t_1, t_2)\) resolves this limitation by correlating intensities at two absolute times \(t_1\) and \(t_2\) rather than a single lag:
The averaging is performed over pixels at equivalent \(|\mathbf{q}|\) and azimuthal angle \(\phi\), not over time. This preserves the full non-stationary dynamics.
For a stationary system, \(C_2\) depends only on \(|t_2 - t_1|\) and reduces to the standard \(g_2\). For a non-stationary system, the \(C_2\) matrix has structure away from the main diagonal that reveals how dynamics change with time.
Note
Homodyne works with two-time correlation functions \(C_2(t_1, t_2)\) as its primary input. The raw data from APS and APS-U beamlines is stored in HDF5 files with the full \((n_\phi, n_{t_1}, n_{t_2})\) array.
Connection to Particle Dynamics¶
The intermediate scattering function \(c_1\) is determined by the transport coefficient \(J(t)\), which measures the instantaneous rate of growth of the mean-squared displacement at time \(t\) (see Transport Coefficient J(t)):
The integral \(\int J\,dt'\) equals the variance of the net particle displacement and must in general be evaluated numerically.
For normal (Brownian) diffusion with constant diffusion coefficient \(D\), the transport coefficient is \(J = 2D\) and the equilibrium single-time result simplifies to:
For anomalous diffusion, homodyne models the time-dependent diffusion coefficient as \(D(t) = D_0\,t^\alpha + D_\text{offset}\), which modifies the integral and produces slower (\(\alpha < 0\), sub-diffusion) or faster (\(\alpha > 0\), super-diffusion) decay of correlations. The case \(\alpha = 0\) recovers normal diffusion.
For particles under laminar shear flow (Taylor-Couette geometry), an additional sinc-squared modulation arises from integrating the velocity field across the gap (see Homodyne Scattering: Laminar Flow Model):
where \(\phi\) is the azimuthal angle, \(h\) is the gap distance, \(\Gamma(t_1, t_2) = \int_{t_1}^{t_2}\dot\gamma(t)\,dt\) is the accumulated shear strain, and \(\mathrm{sinc}(x) = \sin(\pi x)/(\pi x)\) is the normalized sinc function (NumPy/JAX convention). The sinc-squared factor produces a characteristic angular dependence that is the signature of shear.
Homodyne Detection¶
Homodyne XPCS uses only the scattered beam from the sample, without mixing in a reference beam. The measured correlation function is therefore the full \(C_2\) described above.
The name “homodyne” distinguishes it from “heterodyne” detection, where the scattered beam is mixed with a reference beam (local oscillator). In the homodyne case, the Siegert relation applies directly, and:
where \(\beta(\phi)\) is the per-angle speckle contrast. In practice, homodyne fits this as:
where \(\text{offset}(\phi)\) accounts for incoherent background (ideally 1.0). This is the model equation implemented in homodyne.
Why XPCS for Soft Matter?¶
XPCS occupies a unique niche in the experimental toolkit:
Technique |
Length Scale |
Timescale |
Sample Requirements |
Dynamics Accessible |
|---|---|---|---|---|
DLS |
10 nm – 10 µm |
µs – hours |
Dilute, transparent |
Diffusion, flow |
NMR relaxometry |
0.1 – 10 nm |
ns – ms |
Soluble compounds |
Local motion |
Neutron spin echo |
1 – 100 nm |
ns – µs |
Deuterated samples |
Collective modes |
XPCS |
1 – 1000 nm |
µs – hours |
Any (bulk capable) |
Diffusion, flow, aging |
Key advantages of XPCS:
No dilution required: can study concentrated dispersions, gels, glasses
Spatial selectivity: probes a specific length scale via \(q\) selection
Azimuthal resolution: resolves anisotropic dynamics (e.g., shear flow direction)
Non-invasive: no fluorescent labels or contrast agents needed
In situ compatible: works with pressure cells, shear cells, furnaces
Experimental Setup¶
A schematic XPCS beamline consists of:
Undulator source: produces coherent X-rays (typically 8–25 keV)
Monochromator: selects a narrow energy bandwidth (ΔE/E ~ 10⁻⁴)
Coherence aperture (pinhole): defines the transversely coherent beam area
Sample stage: with optional environments (Couette cell, pressure, cryostat)
Area detector: fast pixel detector (EIGER, JUNGFRAU, etc.) with frame rates from Hz to kHz
The coherence length of the beam and the detector pixel solid angle together determine the speckle contrast \(\beta\).
Note
At APS and APS-U (Advanced Photon Source Upgrade), XPCS data is stored in
HDF5 files following the NeXus or APS-specific formats. Homodyne
supports both the APS legacy format and the APS-U new format.
—
See Also¶
Homodyne Package Overview — What the homodyne package does
Analysis Modes — Static vs laminar flow mode choice
Parameter Interpretation Guide — Physical meaning of each fitted parameter
Theory & Physics — Mathematical derivation of the model equations