The abTEM code: transmission electron microscopy from first principles

List of Authors

  1. Jacob Madsen ,  
  2. Toma Susi
Article Authors & roles Authors Peer review record Peer review Metrics
Cite

Abstract

Simulation of transmission electron microscopy (TEM) images or diffraction patterns is often required to interpret experimental data. Since nuclear cores dominate electron scattering, the scattering potential is typically described using an independent atom model, which completely neglects valence bonding and its effect on the transmitting electrons. As instrumentation has advanced, new measurements have revealed subtle details of the scattering potential that were previously not accessible to experiment.

We have created an open-source simulation code designed to meet these demands by integrating the ability to calculate the potential via density functional theory (DFT) with a flexible modular software design. abTEM can simulate most standard imaging modes and incorporates the latest algorithmic developments. The development of new techniques requires a program that is accessible to domain experts without extensive programming experience. abTEM is written purely in Python and designed for easy modification and extension.

The effective use of modern open-source libraries makes our performance highly competitive with existing optimized codes on both CPUs and GPUs. abTEM is designed to work in an interactive Python notebook, allowing us to leverage an extensive ecosystem of libraries, such as the Atomic Simulation Environment and the DFT code GPAW. This creates a seamless and reproducible workflow from defining an atomic structure, calculating molecular dynamics (MD) and electrostatic potentials, to the analysis of results, all in a single, easy-to-read document.

This article provides ongoing documentation of abTEM development. In this first version, we show use cases for hexagonal boron nitride, where valence bonding can be detected, a 4D-STEM simulation of molybdenum disulfide including ptychographic phase reconstruction, a comparison of MD and frozen phonon modeling for convergent-beam electron diffraction of a 2.6-million-atom silicon system, and a performance comparison of our fast PRISM algorithm for a decahedral 20000-atom gold nanoparticle.

Corresponding author
Jacob Madsen
Grant information

This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (grant agreement No [756277]), (project ATMEN).

The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

Copyright
© 2021 Jacob Madsen (Corresponding Author, Co-Author); Toma Susi (Co-Author) Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

First version published
Latest version published
Revised

Amendment

All reviewer comments have been addressed. Updates to the code include: interpolation with Fourier-space padding, corrections to use case examples (including improved line styling to accommodate impaired color vision), and added repository examples including PACBED and partial coherence in 4D-STEM.

Comments

Authors & roles

Jacob Madsen

Faculty of Physics, University of Vienna, Vienna, 1090, Austria

Roles
Corresponding Author, Co-Author, Conceptualization, Formal Analysis, Methodology, Software, Validation, Visualization, Writing – Original Draft Preparation, Writing – Review & Editing

Toma Susi

Faculty of Physics, University of Vienna, Vienna, 1090, Austria

Roles
Co-Author, Conceptualization, Formal Analysis, Funding Acquisition, Project Administration, Supervision, Visualization, Writing – Review & Editing
0000-0003-2513-573X

Downloads over the last 12 months:

Cited by

via Crossref

View citing articles