1. A method of spectrum data analysis, the method comprising: acquiring a spectrum of an unknown mineral sample; decomposing the spectrum of the unknown mineral sample to yield a compositional value; and determining a similarity metric between the unknown mineral sample and a mineral definition, the mineral definition providing a range for at least one element in the definition.