Analyzing the crystal structure of minerals using X-ray diffraction to identify the atomic arrangement of the mineral.