Interpret diffraction peaks to identify crystal structures, phases, lattice parameters, residual stress, and preferred orientation.