A nice method for exploring samples of all kinds is to use it as a target for an electron or proton beam, scan the beam over the target and detect the X-rays emitted from the target together with the beam position. The X-rays are typical for the elements on the position of the beam on the target and by setting conditions around the energy peaks it is possible to image the target in the light of its elemental constitution.