Scattering experiments are a common method for learning about crystals. Such experiments typically involve a probe (e.g. X-rays or neutrons) and a crystalline solid. A well-characterized probe propagating towards the crystal may interact and scatter away in a particular manner. Mathematical expressions relating the scattering pattern, properties of the probe, properties of the experimental apparatus, and properties of the crystal then allow one to derive desired features of the crystalline sample.