Interconvert X-ray counts into elemental abundances and determine mineral compositions from the composition.