Analysis of the crystal structure of materials by passing [[x ray|x-rays]] through them and registering the diffraction (scattering) image of the x-rays.