An X-ray fluorescence (XRF) spectrometer is an x-ray instrument used for routine, relatively non-destructive chemical analyses of rocks, minerals, sediments and fluids. It works on wavelength-dispersive spectroscopic principles that are similar to an electron microprobe (EPMA).