Trace element analysis using proton-induced X-ray emission spectroscopy