Working Principle Based on the Bragg's law, a single wavelength source light is diffracted by the atoms or molecules in the sample and its diffracted signal is collected and analyzed