Diffraction Patterns

Introduction

Diffraction occurs when waves (electrons, x-rays, neutrons) scattering from obstructions act as secondary sources of propagation. In the case of crystal structures, atoms in periodic lattices act as scattering sites from which constructive and destructive interference can occur. Line spectra of scattering intensity as a function incident angle can give powerful information into the planar spacing and symmetries of a crystalline material.

X-ray Diffraction Formalism

The calculation of x-ray diffraction patterns (XRD) in the Materials Project relies on the diffraction condition in reciprocal space[1]:
k=k+ghkl\bold{k}=\bold{k'}+\bold{g}_{hkl}
where
k\bold{k}
is the wave vector of the incident x-ray,
k\bold{k'}
is the wave​vector is the scattered x-ray and
ghkl\bold{g_{hkl}}
is the reciprocal lattice vector of the parallel set of diffracting planes with miller indices hkl. The length of reciprocal lattice plane vector
ghkl\bold{g_{hkl}}
is given by:
ghkl=2sinθλ|\bold{g_{hkl}}| =\frac{2\sin \theta}{\lambda}
where
λ\lambda
is the wavelength of the x-ray. Therefore, the maximum diffraction plane condition which is searched is
ghkl=2λ|\bold{g_{hkl}}| =\frac{2}{\lambda}
. Once all of the relevant diffraction planes with reciprocal lattice vectors within this limit are selected, the diffraction condition for each of these planes can be calculated:
sin(θ)=λ2dhkl\sin( \theta) = \frac{ \lambda}{2d_{hkl}}
where
dhkld_{hkl}
is the is the spacing of the hkl plane. The structure factor for each of these diffraction conditions is calculated as:
Fhkl=j=1Nfjexp(2πi ghklr)F_{hkl} = \sum \limits_{j=1}^N f_j \exp(2 \pi i \ \mathbf{g_{hkl}} \cdot \mathbf{r})
where
jj
is the index for the
NN
atoms in the unit cell,
r\bold{r}
​ is the basis vector for the atoms in the unit cell. The atomic scattering factor
ff
​ is given by:
f(s)=Z41.78214×s2×i=1nai exp(bis2)f(s) = Z - 41.78214 \times s^2 \times \sum \limits_{i=1}^n a_i \ \exp(-b_is^2)
where
s=sin(θ)λs = \frac{\sin(\theta)}{\lambda}
,
aia_{i}
and
bib_{i}
are parameters fitted to individual elements. ​The intensity of each diffraction condition is given by the squared modulus of the structure factor.
Finally the Lorentz-polarization factor is applied to correct for the change in x-ray amplitude due to scattering angle and geometry of the experimental conditions:
P(θ)=1+cos2(2θ)sin2(θ)cos(θ)P( \theta) = \frac{1 + \cos^2(2 \theta)} { \sin^2( \theta) \cos( \theta)}

Electron Diffraction

The Transmission Electron Microscopy (TEM) pattern for multiple Laue zones is calculated similarly to the XRD diffraction patterns and is available through the diffraction properties tab in the materials explorer.

References

[1]: De Graef, Marc, and Michael E. McHenry. Structure of materials: an introduction to crystallography, diffraction and symmetry. Cambridge University Press, 2012.