data processing software for miniature x-ray spectrometers