A method for analyzing a sample includes directing one or more beams of
X-rays to impinge on an area of a surface of the sample on which a layer
of nano-particles of a selected element has been formed. Secondary X-ray
radiation from the area is detected responsively to the one or more
beams. A distribution of the nano-particles on the surface is
characterized based on the detected radiation.