The XRF method is widely used to measure the elemental composition of materials. Since this method is fast and non-destructive to the sample, it is the method of choice for field applications and industrial production for control of materials. Depending on the application, XRF can be produced by using not only x-rays but also other primary excitation sources like alpha particles, protons or high energy electron beams.