XRF data processing