The energy dispersive X-ray (EDX) signals from Ti in the deposited film and Mg of the substrate were measured and compared with Monte Carlo simulations of electron trajectories from CASINO in both the film and substrate, such that a layer thickness could be obtained, and thereby the film growth rate