8. A method of spectrum data analysis, the method comprising: acquiring a spectrum of an unknown mineral sample; selecting a first mineral definition, the first mineral definition including an element list of the elements comprising the first mineral; decomposing the spectrum of the unknown mineral sample using elements from the first mineral definition; calculating an overall match probability between the unknown mineral sample and the first mineral definition; and selecting a second mineral definition, the second mineral definition including an element list of the elements comprising the second mineral; decomposing the spectrum of the unknown mineral sample using elements from the second mineral definition; calculating an overall match probability between the unknown mineral sample and the second mineral definition; and in response to the first mineral definition having a greater match probability than the second mineral definition, classifying the acquired spectrum as being composed of the first mineral; and in response to the second mineral definition having a greater match probability than the first mineral definition, classifying the acquired spectrum as being composed of the second mineral.
8. A method of spectrum data analysis, the method comprising: acquiring a spectrum of an unknown mineral sample; selecting a first mineral definition, the first mineral definition including an element list of the elements comprising the first mineral; decomposing the spectrum of the unknown mineral sample using elements from the first mineral definition; calculating an overall match probability between the unknown mineral sample and the first mineral definition; and selecting a second mineral definition, the second mineral definition including an element list of the elements comprising the second mineral; decomposing the spectrum of the unknown mineral sample using elements from the second mineral definition; calculating an overall match probability between the unknown mineral sample and the second mineral definition; and in response to the first mineral definition having a greater match probability than the second mineral definition, classifying the acquired spectrum as being composed of the first mineral; and in response to the second mineral definition having a greater match probability than the first mineral definition, classifying the acquired spectrum as being composed of the second mineral. 14. The method of claim 8 , in which decomposing the spectrum of the unknown mineral sample using elements from the selected element list includes obtaining elemental spectra for the mineral definition selected and splitting the elemental spectra into segments based on the number of peaks present in the spectrum of the unknown mineral sample.