Computer-aided X-ray diffraction identification of minerals in mixtures