py4DSTEM: a software package for multimodal analysis of four-dimensional scanning transmission electron microscopy datasets

Benjamin H Savitzky, Lauren A Hughes, Steven E Zeltmann, Hamish G Brown, Shiteng Zhao +16 more
3/20/2020
cond-mat.mtrl-scicond-mat.mes-hallphysics.app-ph

Official code: py4dstem/py4DSTEM (283 stars, Python, GPL-3.0, last commit 2026-08-01).

Abstract

Scanning transmission electron microscopy (STEM) allows for imaging, diffraction, and spectroscopy of materials on length scales ranging from microns to atoms. By using a high-speed, direct electron detector, it is now possible to record a full 2D image of the diffracted electron beam at each probe position, typically a 2D grid of probe positions.

Show full abstract

These 4D-STEM datasets are rich in information, including signatures of the local structure, orientation, deformation, electromagnetic fields and other sample-dependent properties. However, extracting this information requires complex analysis pipelines, from data wrangling to calibration to analysis to visualization, all while maintaining robustness against imaging distortions and artifacts. In this paper, we present py4DSTEM, an analysis toolkit for measuring material properties from 4D-STEM datasets, written in the Python language and released with an open source license. We describe the algorithmic steps for dataset calibration and various 4D-STEM property measurements in detail, and present results from several experimental datasets. We have also implemented a simple and universal file format appropriate for electron microscopy data in py4DSTEM, which uses the open source HDF5 standard. We hope this tool will benefit the research community, helps to move the developing standards for data and computational methods in electron microscopy, and invite the community to contribute to this ongoing, fully open-source project.

View on arXivView PDF

Code Implementations(1)

py4dstem/py4DSTEMOfficial100%
GPL-3.0
283179Python, CudaSep 13, 20184 months agoGPL-3.0

Similar Papers

Cite this paper

@article{savitzky2020pydstem,
  title  = {py4DSTEM: a software package for multimodal analysis of four-dimensional scanning transmission electron microscopy datasets},
  author = {Benjamin H Savitzky and Lauren A Hughes and Steven E Zeltmann and Hamish G Brown and Shiteng Zhao and Philipp M Pelz and Edward S Barnard and Jennifer Donohue and Luis Rangel DaCosta and Thomas C. Pekin and Ellis Kennedy and Matthew T Janish and Matthew M Schneider and Patrick Herring and Chirranjeevi Gopal and Abraham Anapolsky and Peter Ercius and Mary Scott and Jim Ciston and Andrew M Minor and Colin Ophus},
  year   = {2020},
  eprint = {2003.09523},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2003.09523}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2003.09523.svg)](https://codeofpaper.com/paper/2003.09523)

Discussion