Related Experiment Video
Updated: Aug 4, 2025

Analysis of SEC-SAXS data via EFA deconvolution and Scatter
Published on: January 28, 2021
espm: A Python library for the simulation of STEM-EDXS datasets
Adrien Teurtrie1, Nathanaël Perraudin2, Thomas Holvoet2
1Electron Spectrometry and Microscopy Laboratory, Institute of Physics (IPHYS), École Polytechnique Fédérale de Lausanne (EPFL), 1015, Lausanne, Switzerland; Unité Matériaux et Transformations, UMR-CNRS 8207, Université de Lille, Cité scientifique, Bâtiment C6, 59655, Villeneuve d'Ascq, France.
Abstract:
We present two open-source Python packages: "electron spectro-microscopy" (espm) and "electron microscopy tables" (emtables). The espm software enables the simulation of scanning transmission electron microscopy energy-dispersive X-ray spectroscopy datacubes, based on user-defined chemical compositions and spatial abundance maps of constituent phases. The simulation process uses X-ray emission cross-sections generated via state-of-the-art calculations made with emtables. These tables are designed to be easily modifiable, either manually or using espm. The simulation framework is designed to test the application of decomposition algorithms for the analysis of STEM-EDX spectrum images with access to a known ground truth. We validate our approach using the case of a complex geology-related sample, comparing raw simulated and experimental datasets and the outputs of their non-negative matrix factorization. In addition to testing machine learning algorithms, our packages will also help experimental design, for instance, predicting dataset characteristics or establishing minimum counts needed to measure nanoscale features.
More Related Videos
Related Concept Videos
Statistical Package for the Social Sciences (SPSS)
SPSS streamlines the process from data preparation to analysis and reporting. It is characterized by its user-friendly interface, which conceals...
EPS and iPS Cells in Disease Research
Econometric Views (EViews)

