X - ray diffraction is one of the earliest methods for studying the structure of solids. In the process of diffraction, electromagnetic waves of a given frequency but different phases interact to produce constructive interference