The way EDX analysis works is that the electron beam hits the inner shell of an atom, knocking off an electron from the shell, while leaving a positively charged electron hole . When the electron is displaced, it attracts another electron from an outer shell to fill the vacancy.28 Kas 2019