py4DSTEM: A Software Package for Four-Dimensional Scanning Transmission Electron Microscopy Data Analysis
Open accessThe DOI matches its Crossref record; 39 of the 39 references it cites were found in a registry or an index.
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 two-dimensional (2D) image of the diffracted electron beam at each probe position, typically a 2D grid of probe positions. 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 that include data wrangling, calibration, analysis, and 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 also implement 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 and help improve the standards for data and computational methods in electron microscopy, and we invite the community to contribute to this ongoing project.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Scikit-learn: Machine Learning in Python
Pedregosa, F., Varoquaux, G., Gramfort, A., Michel, V., Thirion, B., Grisel, O., Blondel, M., Müller, A., Nothman, J., Louppe, G., et al. (2012) · arXiv · doi:10.48550/arxiv.1201.0490 · Cited by 71,016
The quickhull algorithm for convex hulls
Barber, C. B., Dobkin, D. P., & Huhdanpaa, H. (1996) · ACM Transactions on Mathematical Software · doi:10.1145/235815.235821 · Cited by 5,359
Efficient subpixel image registration algorithms
Guizar-Sicairos, M., Thurman, S. T., & Fienup, J. R. (2008) · Optics Letters · doi:10.1364/ol.33.000156 · Cited by 1,905
Topology of covalent non-crystalline solids I: Short-range order in chalcogenide alloys
Phillips, J. C. (1979) · Journal of Non-Crystalline Solids · doi:10.1016/0022-3093(79)90033-4 · Cited by 1,876
The scattering of electrons by atoms and crystals. I. A new theoretical approach
Cowley, J. M., & Moodie, A. F. (1957) · Acta Crystallographica · doi:10.1107/s0365110x57002194 · Cited by 1,426
Ophus, C. (2019) · Microscopy and Microanalysis · doi:10.1017/s1431927619000497 · Cited by 1,075
Self-citationAdvanced Computing in Electron Microscopy
Kirkland, E. J. (2010) · Springer eBooks · doi:10.1007/978-1-4419-6533-2 · Cited by 724
Egami, T., & Billinge, S. J. L. (2003) · Materials Today · doi:10.1016/s1369-7021(03)00635-7 · Cited by 664
Electron Vortex Beams with High Quanta of Orbital Angular Momentum
McMorran, B. J., Agrawal, A., Anderson, I. M., Herzing, A. A., Lezec, H. J., McClelland, J. J., & Unguris, J. (2011) · Science · doi:10.1126/science.1198804 · Cited by 604
High Dynamic Range Pixel Array Detector for Scanning Transmission Electron Microscopy
Täte, M. W., Purohit, P., Chamberlain, D., Nguyen, K. X., Hovden, R., Chang, C. S., Deb, P., Turgut, E., Heron, J. T., Schlom, D. G., et al. (2016) · Microscopy and Microanalysis · doi:10.1017/s1431927615015664 · Cited by 498
Differential phase-contrast microscopy at atomic resolution
Shibata, N., Findlay, S. D., Kohno, Y., Sawada, H., Kondo, Y., & Ikuhara, Y. (2012) · Nature Physics · doi:10.1038/nphys2337 · Cited by 468
de la Peña, F., Prestat, É., Lähnemann, J., Fauske, V. T., Burdet, P., Jokubauskas, P., Furnival, T., Francis, C., Nord, M., Ostasevicius, T., et al. (2015) · Figshare · doi:10.5281/zenodo.592838 · Cited by 318
Linear phase imaging using differential interference contrast microscopy
Arnison, M. R., Larkin, K. G., Sheppard, C. J. R., Smith, N. I., & Cogswell, C. J. (2004) · Journal of Microscopy · doi:10.1111/j.0022-2720.2004.01293.x · Cited by 271
Transmission Electron Microscopy
(2016) · Springer eBooks · doi:10.1007/978-3-319-26651-0 · Cited by 215
Improved precision in strain measurement using nanobeam electron diffraction
Béché, A., Rouvière, J., Clément, L., & Hartmann, J. (2009) · Applied Physics Letters · doi:10.1063/1.3224886 · Cited by 183
Averaging of low exposure electron micrographs of non-periodic objects
Frank, J. (1975) · Ultramicroscopy · doi:10.1016/s0304-3991(75)80020-9 · Cited by 183
A fast image simulation algorithm for scanning transmission electron microscopy
Ophus, C. (2017) · Advanced Structural and Chemical Imaging · doi:10.1186/s40679-017-0046-1 · Cited by 174
Self-citationFast computation of Lyot-style coronagraph propagation
Soummer, R., Pueyo, L. A., Sivaramakrishnan, A., & Vanderbei, R. J. (2007) · Optics Express · doi:10.1364/oe.15.015935 · Cited by 167
Imaging of built-in electric field at a p-n junction by scanning transmission electron microscopy
Shibata, N., Findlay, S. D., Sasaki, H., Matsumoto, T., Sawada, H., Kohno, Y., Otomo, S., Minato, R., & Ikuhara, Y. (2015) · Scientific Reports · doi:10.1038/srep10040 · Cited by 158
Image registration of low signal-to-noise cryo-STEM data
Savitzky, B. H., Baggari, I. E., Clement, C. B., Waite, E. N., Goodge, B. H., Baek, D. J., Sheckelton, J. P., Pasco, C., Nair, H., Schreiber, N. J., et al. (2018) · Ultramicroscopy · doi:10.1016/j.ultramic.2018.04.008 · Cited by 133
Self-citationDemonstration of a 2 × 2 programmable phase plate for electrons
Verbeeck, J., Béché, A., Müller‐Caspary, K., Guzzinati, G., Luong, M. A., & den Hertog, M. (2018) · Ultramicroscopy · doi:10.1016/j.ultramic.2018.03.017 · Cited by 131
Pryor, A., Ophus, C., & Miao, J. (2017) · Advanced Structural and Chemical Imaging · doi:10.1186/s40679-017-0048-z · Cited by 116
Self-citationInfluence of electron dose rate on electron counting images recorded with the K2 camera
Li, X., Zheng, S. Q., Egami, K., Agard, D. A., & Cheng, Y. (2013) · Journal of Structural Biology · doi:10.1016/j.jsb.2013.08.005 · Cited by 115
Patterned probes for high precision 4D-STEM bragg measurements
Zeltmann, S. E., Müller, A., Bustillo, K. C., Savitzky, B. H., Hughes, L. A., Minor, A. M., & Ophus, C. (2019) · Ultramicroscopy · doi:10.1016/j.ultramic.2019.112890 · Cited by 114
Self-citationUsuda, K., Numata, T., Irisawa, T., Hirashita, N., & Takagi, S. (2005) · Materials Science and Engineering B · doi:10.1016/j.mseb.2005.08.062 · Cited by 106
Padgett, E., Holtz, M. E., Cueva, P., Shao, Y., Langenberg, E., Schlom, D. G., & Muller, D. A. (2020) · Ultramicroscopy · doi:10.1016/j.ultramic.2020.112994 · Cited by 104
Johnstone, D. N., Crout, P., Francis, C., Nord, M., Laulainen, J. E. M., Høgås, S., Opheim, E., Prestat, É., Martineau, B., Bergh, T., et al. (2019) · Zenodo (CERN European Organization for Nuclear Research) · doi:10.5281/zenodo.2649351 · Cited by 77
Nanoscale mosaicity revealed in peptide microcrystals by scanning electron nanodiffraction
Gallagher-Jones, M., Ophus, C., Bustillo, K. C., Boyer, D. R., Panova, O., Glynn, C. A., Zee, C.-T., Ciston, J., Mancia, K. C., Minor, A. M., et al. (2019) · Communications Biology · doi:10.1038/s42003-018-0263-8 · Cited by 74
Self-citationNord, M., Webster, R. W. H., Paton, K. A., McVitie, S., McGrouther, D., MacLaren, I., & Paterson, G. W. (2020) · Microscopy and Microanalysis · doi:10.1017/s1431927620001713 · Cited by 65
Evaluation of two-dimensional strain distribution by STEM/NBD
Uesugi, F., Hokazono, A., & Takeno, S. (2011) · Ultramicroscopy · doi:10.1016/j.ultramic.2011.01.035 · Cited by 60
Atomic-scale quantification of charge densities in two-dimensional materials
Müller‐Caspary, K., Duchamp, M., Rösner, M., Migunov, V., Winkler, F., Yang, H., Huth, M., Ritz, R., Simson, M., Ihle, S., et al. (2018) · Physical review. B./Physical review. B · doi:10.1103/physrevb.98.121408 · Cited by 58
RDFTools: A software tool for quantifying short‐range ordering in amorphous materials
Mitchell, D. R. G., & Petersen, T. C. (2011) · Microscopy Research and Technique · doi:10.1002/jemt.21038 · Cited by 56
Effect of composition on the structure of lithium- and manganese-rich transition metal oxides
Shukla, A. K., Ramasse, Q. M., Ophus, C., Kepaptsoglou, D. M., Hage, F. S., Gammer, C., Bowling, C., Gallegos, P. A. H., & Venkatachalam, S. (2018) · Energy & Environmental Science · doi:10.1039/c7ee02443f · Cited by 52
Self-citationUSID and Pycroscopy – Open Source Frameworks for Storing and Analyzing Imaging and Spectroscopy Data
Somnath, S., Smith, C. R., Laanait, N., Vasudevan, R. K., & Jesse, S. (2019) · Microscopy and Microanalysis · doi:10.1017/s1431927619001831 · Cited by 39
Wang, Y., Suyolcu, Y. E., Salzberger, U., Hahn, K., Šrot, V., Sigle, W., & van Aken, P. A. (2018) · Microscopy · doi:10.1093/jmicro/dfy002 · Cited by 35
Strain relaxation in transistor channels with embedded epitaxial silicon germanium source/drain
Liu, J. P., Li, K., Pandey, S. M., Bénistant, F., See, A., Zhou, M., Hsia, L. C., Schampers, R., & Klenov, D. O. (2008) · Applied Physics Letters · doi:10.1063/1.3040323 · Cited by 34
Brown, H. G., Shibata, N., Sasaki, H., Petersen, T. C., Paganin, D. M., Morgan, M. J., & Findlay, S. D. (2017) · Ultramicroscopy · doi:10.1016/j.ultramic.2017.07.002 · Cited by 29
Self-citationElectron Bessel beam diffraction for precise and accurate nanoscale strain mapping
Guzzinati, G., Ghielens, W., Mahr, C., Béché, A., Rosenauer, A., Calders, T., & Verbeeck, J. (2019) · Applied Physics Letters · doi:10.1063/1.5096245 · Cited by 29
Generation of electron vortex beams using line charges via the electrostatic Aharonov-Bohm effect
Pozzi, G., Lu, P., Tavabi, A. H., Duchamp, M., & Dunin‐Borkowski, R. E. (2017) · Ultramicroscopy · doi:10.1016/j.ultramic.2017.06.001 · Cited by 22
Cited by
Polymer Semiconductors: Synthesis, Processing, and Applications
Ding, L., Yu, Z.-D., Wang, X.-Y., Yao, Z.-F., Lu, Y., Yang, C.-Y., Wang, J.-Y., & Pei, J. (2023) · Chemical Reviews · doi:10.1021/acs.chemrev.2c00696 · Cited by 539
High-entropy oxides for catalysis: A diamond in the rough
Pan, Y., Liu, J.-X., Tu, T.-Z., Wang, W., & Zhang, G.-J. (2023) · Chemical Engineering Journal · doi:10.1016/j.cej.2022.138659 · Cited by 232
Kink bands promote exceptional fracture resistance in a NbTaTiHf refractory medium-entropy alloy
Cook, D. H., Kumar, P., Payne, M. I., Belcher, C. H., Borges, P., Wang, W., Walsh, F., Li, Z., Devaraj, A., Zhang, M., et al. (2024) · Science · doi:10.1126/science.adn2428 · Cited by 228
Self-citationMultimodal electron microscopy of halide perovskite interfacial dynamics
Li, X., Gu, Q., Huang, W., Fairclough, S. M., Friend, R. H., Stranks, S. D., Liu, T., & Ducati, C. (2026) · Nature · doi:10.1038/s41586-026-10238-8 · Cited by 14
“Crystal orientation mapping was performed on 4D-STEM datasets using the py4DSTEM software package 51 .”
InfluentialBridging electron microscopy and materials analysis with an autonomous agentic platform
Chen, G., Yuan, W., & You, F. (2026) · Science Advances · doi:10.1126/sciadv.aed0583 · Cited by 6
Metadata
- Authors
- Savitzky, B. H., Zeltmann, S. E., Hughes, L. A., Brown, H. G., Zhao, S., Pelz, P. M., Pekin, T. C., Barnard, E. S., Donohue, J., Rangel DaCosta, L., Kennedy, E., Xie, Y., Janish, M. T., Schneider, M. M., Herring, P., Gopal, C., Anapolsky, A., Dhall, R., Bustillo, K. C., Ercius, P., Scott, M. C., Ciston, J., Minor, A. M., & Ophus, C.
- Venue
- Microscopy and Microanalysis
- Publisher
- Oxford University Press (OUP)
- Published
- 2021-05-21
- Volume
- 27
- Issue
- 4
- Pages
- 712-743
- ISSN
- 1431-9276 (ISSN-L)
- 1435-8115
- OpenAlex
- W3012644610
- Cited by
- 353
- References
- 39
- FWCI
- 19.33
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.