quantEM: Quantitative Electron Microscopy Analysis from Differentiable Physics to Neural Priors
Colin Ophus, Arthur RC McCray, Georgios Varnavides, Stephanie M Ribet
Abstract
Quantitative electron microscopy includes imaging, diffraction, spectroscopy, and tomography measurements, and the analysis of these measurements increasingly requires solving inverse problems with physical forward models. Open-source software has made many of these analyses widely available, but most packages are organized around a single modality, so that multimodal analyses require moving data between packages, and new methods cannot easily reuse the physical models and optimizers of existing ones. Here we present quantEM, an open-source Python package for quantitative electron microscopy that uses PyTorch tensors for computation and automatic differentiation, and Zarr for storage. We implement each analysis method by writing a differentiable forward model and choosing a representation, loss function, constraints, and optimizer from a library of components, so that every method runs on CPUs and GPUs, can be saved and resumed, and uses the same calibrated data structures and visualization tools. We describe the current modules, including orientation and strain mapping, direct and iterative ptychography, tomography with neural representations, and X-ray and electron energy-loss spectroscopy, and show how we assemble combined methods such as ptychographic tomography from existing components. quantEM is available under the MIT license, together with documentation, tutorials, and curated example datasets.
Create a lesson
Related papers
Perfumer: A Large Language Model-based Agentic Framework Accelerating Structural Relaxation and Electronic Band Prediction for First-Principle Calculation
Shared title terminology · Zhiwei Li, Yuhao Zhou, Yikai Yang et al.
Unusual increase in electrical and thermal conductivity of severely deformed CrMnFeCoNi high-entropy alloy: Roles of disordering and nanostructuring in electron and phonon transport
Shared title terminology · Jacqueline Hidalgo-Jiménez, Payam Edalati, Md Amirul Islam et al.
momipy: A time-resolved momentum microscopy data analysis workflow
Shared title terminology · Paul Werner, Wiebke Bennecke, Jan Philipp Bange et al.
AdsNet: A Graph Neural Network for Direct Adsorption Energy Prediction
Shared title terminology · Changzhi Ai, Frank Abild-Pedersen, Johannes Voss
Single-Crystal Growth, Structure, and Physical Properties of Yb2MoO6
Shared title terminology · Ali Sarikhani, Santhoshkumar Sundaramoorthy, Sadracd Gamez et al.
Uncovering the Structural, Electronic, and Electrostatic Landscapes of SrTiO3 Grain Boundaries via Grand Canonical Monte Carlo with a Machine-Learning Interatomic Potential
Shared title terminology · Xing He, Kairi Masuda, Aaron M. Schankler et al.