“…In the last fifty years, many software programs were written to simulate EDS spectra [168]; many of them were written by researchers, and some were commercial: MAGIC [169,170], STRATAGEM [171][172][173], GMRFILM [148], Electron Flight Simulator [174,175], ThinFilmID [176], LayerProbe [176,177], pyPENELOPE [178,179], Win X-ray [180,181], MC X-ray [180,182], XFilms [183], CASINO [150,[184][185][186][187], CalcZAF [188,189] and DTSA-II [190][191][192]. Many of these softwares exploit the PENEPMA algorithm [179].…”