I have seen a lot of diffraction patterns such as this, taken from Wikipedia. I know how these images are measured, but I do not know how you can calculate (predict) a diffraction pattern for a specific lattice.
The structure factor for a monatomic system is given as $$ S(\mathbf{q}) = \frac{1}{N}\sum\limits_{j=1}^{N}\sum\limits_{k=1}^{N}\mathrm{e}^{-i\mathbf{q}(\mathbf{r}_j - \mathbf{r}_k)}, $$ where $\mathbf{q}$ is the scattering vector and $\mathbf{r}_j$ the position of atom (or lattice point) $j$. The scattering vector $\mathbf{q}$ is given as $\mathbf{q} = \mathbf{k}_2 - \mathbf{k}_1$, where $\mathbf{k}_1$ is the incoming and $\mathbf{k}_2$ is the scattered beam. The amplitude $\lvert\mathbf{q}\rvert = \frac{4\pi}{\lambda}\sin\theta$ depends on the angle $\theta$ between the incoming and scattered beam.
For an isotropic system such as an amorphous solid, a polycrystal or in powder diffraction, one typically averages over all possible directions of $\mathbf{q}$. The so-calculated static structure factor is the Fourier transform of the radial distribution function. However, if I want to calculate the 2d diffraction pattern, I can't average over all possible directions of $\mathbf{q}$.
- Which value of $\mathbf{q}$ should be used? Does it matter?
- I read that $S(\mathbf{q})$ is the Fourier transform of the lattice (the reciprocal lattice). But the Fourier transform of a 3d lattice is three dimensional. How do I obtain the 2d diffraction pattern?
Related: This question on to calculate the 1d diffraction pattern.