원시데이터 수집 시스템
선정목록으로

Calibration-sample free distortion correction of electron diffraction patterns using deep learning

간접 관련 화학·수지 · (21) 에폭시수지 (15) 디스플레이 패널재료(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Matthew P. Fitzpatrick — Department of Physics and Astronomy, University of Victoria, BC V8W 2Y2, Canada; Centre for Advanced Materials and Related Technologies, University of Victoria, BC V8W 2Y2, Canada. Electronic address: mrfitzpa@uvic.ca
  2. Arthur M. Blackburn — Department of Physics and Astronomy, University of Victoria, BC V8W 2Y2, Canada; Centre for Advanced Materials and Related Technologies, University of Victoria, BC V8W 2Y2, Canada
  3. Cristina Cordoba — Department of Physics and Astronomy, University of Victoria, BC V8W 2Y2, Canada; Centre for Advanced Materials and Related Technologies, University of Victoria, BC V8W 2Y2, Canada
DOI
10.1016/j.ultramic.2026.114347
저널
Ultramicroscopy
발행년도
2026
발행기관
Elsevier BV
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.ultramic.2026.114347
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4416687694

평가 내용

관련도
간접 관련
사업분야
화학·수지 · (21) 에폭시수지
부 분야
(15) 디스플레이 패널재료, (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
electron diffraction patterns, deep learning, distortion correction, CBED, structural information
판단 근거
본 논문은 딥러닝을 이용해 전자 회절 패턴의 왜곡을 보정하는 기술을 다루며, 이는 결정 구조 분석 및 나노 소재의 물성 평가를 위한 분석 기법에 해당합니다.
R&D 활용 포인트
에폭시, 아라미드, CPI 등 고분자 및 기능성 필름 소재의 미세 구조 분석 및 결정성 평가 시, 전자현미경(TEM/SEM) 데이터의 왜곡을 보정하여 분석 정확도를 높이는 데 활용 가능합니다.
평가 입력
본문 72,526자 중 30,032자 발췌

초록

The information that can be extracted from electron diffraction patterns is limited by the presence of optical distortions. Existing distortion characterization techniques typically require knowledge of the reciprocal lattice of either the observed object or a separate calibration sample. The latter of these requires a sample exchange, thus adding time and inconvenience to the sample observation. To overcome this limitation, we have developed the Python library EMicroML, which features a deep learning (DL) framework for measuring and correcting combinations of pincushion, spiral, elliptical, and parabolic optical distortions in convergent beam electron diffraction (CBED) patterns that does not require a separate calibration sample. Performance tests of our DL model are conducted using datasets of artificially distorted CBED patterns of MoS<sub>2</sub> on amorphous C, with varying sizes of CBED disks, that are generated using multislice simulations. The test results of our DL approach are benchmarked against those obtained using a conventional technique that uses the radial gradient maximization (RGM) technique and knowledge of the reciprocal lattice system. While the RGM approach outperforms our DL approach for the patterns with very small disks, our DL approach outperforms the RGM approach for the patterns with medium-sized disks, as well as those with large overlapping disks. The results suggest that our DL approach, which does not require knowledge of the sample, achieves a good compromise between convenience and accuracy. We also show how our DL framework can be used to improve experimental ptychographic reconstructions, and to correct distortion in experimental selected area electron diffraction patterns.

본문 72,526자

본문 펼치기
## Calibration-sample free distortion correction of electron diffraction patterns using deep learning Matthew R.C. Fitzpatrick <sup>a,b,∗</sup>, Arthur M. Blackburn <sup>a,b</sup>, Cristina Cordoba <sup>a,b</sup> aDepartment of Physics and Astronomy, University of Victoria, BC V8W 2Y2, Canada bCentre for Advanced Materials and Related Technologies, University of Victoria, BC V8W 2Y2, Canada Abstract The accuracy of the information that can be extracted from electron diffraction patterns is often limited by the presence of optical distortions. Existing distortion characterization techniques typically require knowledge of the reciprocal lattice of either the sample of interest or a separate calibration sample, the latter of which would need to be swapped in, thus adding time and inconvenience to an experiment. To overcome this limitation, we develop a deep learning (DL) framework for measuring and correcting combinations of different types of optical distortion in CBED patterns. Quantitative performance tests of our DL model are conducted using testing datasets of artificial distorted CBED patterns of MoS2 on amorphous C, with varying sizes of CBED disks, that are generated using multislice simulations. The performance test results of our DL approach are benchmarked against those obtained using a conventional distortion estimation technique that uses the radial gradient maximization (RGM) technique and knowledge of the reciprocal lattice system. While the RGM approach outperforms our DL approach for the CBED patterns with very small disks, our DL approach outperforms the RGM approach for the CBED patterns with medium-sized disks, as well as those with large overlapping disks. The benchmarking results suggest that our DL approach, which does not require knowledge of the sample, achieves a good compromise between convenience and accuracy. We also show how our DL framework can be used to improve experimental ptychographic reconstructions, and to correct optical distortion in experimental selected area electron diffraction patterns. Keywords: Distortion correction, Deep learning, CBED, 4D-STEM, Ptychography, SAED 1. Introduction Transmission electron microscopes (TEMs) have played a central role in acquiring high resolution structural information of crystals in material science, as well as soft matter materials in microbiology [1, 2, 3, 4]. To achieve sub-Ångström (< 10 <sup>−10</sup> m) resolution imaging of samples in current conventional TEMs, one must use generally high-energy electron beams (> 30 keV) in conjunction with recently developed aberration correctors [5]. Furthermore, for beam-sensitive materials, e.g. biological materials, the transmitted electrons must be recorded using an advanced high-pixel count direct electron detector with the greatest possible detection efficiency [1]. The detector advances that have emerged from these initiatives, along with recent advances in aberration correctors for TEM and cryogenic sample preparation methods, have made TEMs indispensable tools for structural investigations related to microbiology, including pathogen biology, host-pathogen interactions, and drug discovery [2, 3, 4, 5]. While these technological advancements have enabled highresolution imaging in conventional TEMs, they impose financial costs, along with space and personnel requirements that ∗Corresponding author Email address: mrfitzpa@uvic.ca (Matthew R.C. Fitzpatrick) are prohibitive for many laboratories [1]. By contrast, nonaberration corrected scanning electron microscopes (SEMs) are smaller, and use electron beam energies typically below 30 keV. Recently, Blackburn et al. [6] achieved sub-Ångström imaging of a gold on Amorphous Carbon (Au/aC) thin film using ptychography with convergent beam electron diffraction (CBED) data collected by a non-aberration-corrected scanning electron microscope (SEM) operating in a transmission mode with a defocused 20 keV electron beam. Such microscopes are cheaper to run and maintain by comparison, and as a result, have become a popular alternative analtyical tool in engineering, and the micro- and nano-sciences. Beyond economic considerations, lower beam energies (≤ 30 keV) should yield higher information per unit damage in TEM and scanning TEM (STEM) modes, provided that the specimen is sufficiently thin (� 15 nm) and composed primarily of light elements [7], e.g. carbon. This applies to small proteins in cryo-EM corresponding with molecular masses below 100 kDa [8]. There has been a growing interest in determining the detailed structure of low-mass (< 100 kDa) proteins [9], which are particularly abundant in nature but difficult to characterize [10]. Graphene and hexagonal boron nitride, both being two-dimensional (2D) materials comprising of light atoms, hold great promise for future electronics due to their structural, chemical, and electronic properties [11]. Many heterostructures comprise of layers of these materials with thicknesses below the Preprint submitted to Ultramicroscopy October 21, 2025 - 15 nm limit mentioned above [11]. In addition to improved information per unit damage, the typical beam energies of non-aberration corrected SEMs are well below the threshold displacement energies (TDEs) of many 2D transition metal dichalgenides (TMDCs) [12]. The main bottleneck to the scaling of the production of devices that integrate 2D TMDCs like MoS2 is manufacturing readiness [13], which requires imaging techniques that enable sub-Ångström resolution, at beam energies below the material’s TDE. While there are many advantages to using non-aberrationcorrected SEMs, typically in such instruments the angular field of view in CBED mode is largely controlled by a single projector lens that is often a major source of optical distortions at low beam energies [6]. Such distortions limit the accuracy of the information that we can derive from CBED patterns collected in the microscope, including structural and orientation information, in addition to high-resolution phase-amplitude imagery via ptychography. Without physical optical elements that can correct lens distortions, one must then resort to a post data collection, software-based solution. CBED patterns are produced using a convergent incident electron beam. Consequently, if the sample of interest is crystalline, all optical elements are perfectly aligned in a given CBED experiment, the Ewald sphere curvature is sufficiently small, the small angle approximation is valid across the angular field of view of the CBED pattern, and no optical distortion is present, then a circular diffraction disk will be centered at every Bragg reflection captured by the recorded CBED intensity pattern(s). In the presence of optical distortion, the shapes and centers of these disks (i.e. CBED disks) will be deformed and displaced respectively. Existing distortion characterization techniques typically involve estimating the displaced centers of the CBED disks in a given pattern, using e.g. the radial gradient maximization (RGM) technique [14, 15], and then performing some kind of least-squares optimization procedure according to an expected or assumed reciprocal lattice system. When the reciprocal lattice of the sample of interest is not known — as is often the case - one must swap in another sample that has a known reciprocal lattice, estimate the distortion, and then swap back in the original sample. This extra step of running a calibration sample adds time and inconvenience to a CBED experiment. Moreover, accurate localization of CBED disks using the RGM technique is complicated by overlapping CBED disks. To overcome these limitations, we develop a deep learning (DL) framework for estimating the optical distortion in CBED patterns. Several DL methods have already been developed for distortion correction problems, intended for generic use cases, i.e. not specialized for electron microscopy. Models/frameworks like Radial Distortion Transformer [16], Distortion-Aware Representation Learning for Fisheye Image Rectification [17], Distortion Rectification Generative Adversarial Network [18], Simple Framework for Fisheye Image Rectification [19], and GeoNet [20] assume that only one type of distortion is present in any given input image. Recently, Li et al. [21] developed a two-stage method that combines GeoNet with a traditional image registration algorithm that is capable of handling images that contain mixtures of different types of 2 distortion. However, the method is limited by its dependency on reference images to perform the image registration. Our DL framework is specially designed to predict the distortion field of a given CBED pattern according to the deformities of the CBED disks, rather than the displacements of the CBED disk centers. Consequently, our approach has the advantage of not requiring knowledge of the sample of interest. Moreover, our DL framework is capable of handling generic mixtures of different types of distortion, and CBED patterns with overlapping disks. In this paper, we describe in detail our DL framework for distortion correction of CBED patterns. We present test results quantifying the accuracy of our DL model and compare it to distortion estimation performed using the RGM technique. We also present two applications of our DL framework: First, we correct the distortion in an experimental CBED pattern (i.e. 4DSTEM) dataset used for ptychography and show that this preprocessing of the data improves the quality of ptychographic reconstructions; Secondly, we show how our DL framework can be adapted for distortion correction in experimental selected area electron diffraction (SAED). 2. Methods 2.1. Convergent beam electron diffraction Our DL framework is specially designed to correct optical distortion in CBED patterns. The essential property of CBED is that the sample is illuminated by a convergent electron beam, which produces diffraction patterns containing diffraction disks if the sample is crystalline. Beyond this, CBED experiments vary in terms of the number and types of optical elements used. Our DL framework is particularly useful for simple few-lens microscopes that are not aberration-corrected by hardware. In this paper, CBED experiments were performed on a modified Hitachi SU9000 SEM. Fig. 1 shows a schematic of the modified Hitachi SU9000 optical system in CBED mode, which is representative of other simple few-lens nonaberration-corrected CBED optical systems. This SEM is equipped with a cold field-emission electron gun, stabilized with a non-evaporative getter pump [22]. The instrument was modified from a standard design to include a small projector lens beneath the immersion-objective magnetic lens. This additional lens improves the accessible range of the effective camera length, i.e. the magnification in the diffraction plane, which is realized in combination with varying the objective lens current and the sample height within the objective lens gap. A hybridtype pixel array direct electron detector was added to the SEM to collect the CBED intensity patterns. This detector, which collects 512 × 512 pixel-count images, is based on the EIGER detector design [23], as provided in a Quadro family camera from Dectris AG, Switzerland. 2.2. Parameterizing optical distortion Broadly speaking, aberrations in an optical system can be grouped into two categories: those that produce inhomogeneities in magnification; and those that affect image resolution. The former are referred to as optical distortions, whereas 2.2 Parameterizing optical distortion 3 cally distortion dominant while aperture aberrations and coma effects are negligible [24]. The facts laid out in this section thus far form the basis of our DL framework: assuming that the probe shape is known and that distortion effects are originating predominantly from the projector lens, we can estimate the distortion in a CBED pattern from the CBED pattern alone if we analyze how the shapes of the deformed CBED disks deviate from the probe shape. For simplicity, we assume that all optical elements are perfectly aligned, which implies that the probe shape is a nearperfect circle. Figure 1: A schematic of the modified Hitachi SU9000 optical system in CBED mode. the latter include coma and aperture aberrations like e.g. spherical aberrations. In other words, optical distortions will not affect the blurriness of an image, but it will cause deformations in the geometric features depicted by that image. Therefore, in order to estimate the distortion in a CBED pattern from the CBED pattern alone, one must analyze some subset of geometric features in the CBED pattern. Furthermore, in order for a distortion estimation framework to not require knowledge of the sample of interest, assumed to be crystalline, one must analyze in particular a subset of geometric features that does not depend on the sample. This rules out analyzing the displacement of the centers of the CBED disks in a CBED pattern as they depend on the reciprocal lattice system of the sample. In contrast, the shapes of the CBED disks do not depend on the sample. If all optical elements are perfectly aligned in a given CBED optical system, the Ewald sphere curvature is sufficiently small, the small angle approximation is valid across the angular field of view of the CBED pattern, and no optical distortion is present, then the shapes of the CBED disks that are depicted by a recorded CBED intensity pattern will be near-perfect circles of the same common radius. This is due to the fact that, under these conditions, the shape of the cross section of the incident beam at the sample plane, i.e. the “probe shape”, is almost perfectly circular. As is suggested by Fig. 1, for the SEM that we use in this paper, the probe shape is determined by pre-sample lens distortion effects, and the alignment of the pre-sample lenses and the second condenser lens (C2) aperture. Typically, the distortion effects of condenser and objective lenses are negligible while aperture aberrations and coma are dominant [24]. Hence, under these circumstances, only misalignment of the aforementioned optical elements can cause probe shapes that are appreciably non-circular. For example, an unintended tilt in the C2 aperture can cause elliptical probe shapes. Unlike pre-sample lenses, projection lenses are typi Our DL model accepts as input a distorted CBED pattern, and returns as output a representation of the CBED pattern’s distortion field. We describe below how distortion fields are parameterized in this work. Before doing so, we introduce some convenient notation. To start, let E� denote a CBED experiment of a sample wherein the optical system is operating at a fixed set of target parameters, and all of the optical elements used are idealized in the sense that they do not introduce any optical distortions. Next, let E◊ denote a CBED experiment that is identical to E� except that the optical elements used introduce a set of optical distortions. We refer to the set of CBED patterns resulting from the experiment E� as the set of undistorted CBED patterns, and the set of CBED patterns resulting from the experiment E� as the set of distorted CBED patterns. For simplicity, we describe positions within CBED patterns using fractional coordinates. First, let ux and uy be the fractional horizontal and vertical coordinates, respectively, of a point in an undistorted CBED pattern. Secondly, let qx and qy be the fractional horizontal and vertical coordinates, respectively, of a point in a distorted CBED pattern. (a) (b) (c) (d) (e) (f) Figure 2: Illustrations of the types of distortions considered in our DL framework: (a) No distortion; (b) Quadratic radial; (c) Elliptical; (d) Spiral; (e) Parabolic; and (f) Generic mixture. The distortions introduced by experiment E◊ can be described by a coordinate transformation, which maps a given coordinate pair �ux, uy� to a corresponding coordinate pair coordinate pair �ux, uy� to a corresponding coordinate pair �qx, qy�. Let T◊;x �ux, uy� be the component of the coordinate �ux, uy - be the component of the coordinate �. Let T◊;x �ux, uy� �ux, uy - to its corresponding qx, and transformation that maps 2.3 Deep learning model 4 - be the component of the coordinate transformation T◊;y �ux, uy that maps �ux, uy� to its corresponding qy. Following Ref. [25], we assume that the coordinate transformation can be parameterized by a trigonometric series. Complete mathematical descriptions of T◊;x �ux, uy� and T◊;y �ux, uy� can be found in the that maps �ux, uy that �ux, uy - and T◊;y �ux, uy scriptions of T◊;x �ux, uy� and T◊;y �ux, uy� can be found in the reference guide of DistOptica [26], a Python library that we have developed for modelling optical distortions. While the aforementioned coordinate transformation is expressive enough to describe a wide variety of different types of distortion, in this work we restrict ourselves to 4 types of distortion that are prevalent in diffraction experiments: quadratic radial (i.e. barrel-pincushion), elliptical, spiral, and parabolic. Fig. 2 illustrates how these 4 types of distortion alter an image. In DistOptica, these 4 types of distortion are minimally described by a class of so-called “standard” coordinate transformations. Each standard coordinate transformation comprises of two components which have the same mathematical forms as T◊;x �ux, uy� and T◊;y �ux, uy� respectively, but is constrained T◊;x �ux, uy� and T◊;y �ux, uy� respectively, but is constrained such that a given standard coordinate transformation can be uniquely specified by 8 distortion parameters. These distortion �, the quadratic radial distortion amplitude Ar;0,2, the elliptical distortion vec parameters are: the distortion center <sup>�</sup> xc;D, yc;D �ux, uy �ux, uy that a - and T◊;y given �, the quadratic radial distortion amplitude Ar;0,2, the elliptical distortion vec parameters are: the distortion center <sup>�</sup> xc;D, yc;D tor <sup>�</sup> Ar;2,0, Br;1,0�, the spiral distortion amplitude At;0,2, and the parabolic distortion vector <sup>�</sup> Ar;1,1, Br;0,1�. tor <sup>�</sup> Ar;2,0, Br;1,0�, the spiral distortion amplitude At;0,2, and the �. As the distortions introduced by an experiment E◊ can parabolic distortion vector <sup>�</sup> Ar;1,1, Br;0,1 tor <sup>�</sup> Ar;2,0, Br;1,0 �. As the distortions introduced by an experiment E◊ can parabolic distortion vector <sup>�</sup> Ar;1,1, Br;0,1 be described by a coordinate transformation, they can be described equivalently by a distortion field, with components D◊;x �ux, uy� = T◊;x �ux, uy� - ux and D◊;y �ux, uy� = T◊;y �ux, uy� - uy. Thus, when we refer to the distor tion field of a distorted CBED pattern, we are referring to �D◊;x �ux, uy�, D◊;y �ux, uy��. We refer to distortion fields that can be described equivalently by “standard” coordinate trans �ux, uy - - ux and D◊;y �ux, uy then gamma-corrected, then histogram equalized to improve the contrast of the CBED disks; Secondly, no pooling operations are performed in our DL model; Lastly, all downsampling operations are performed using convolutional layers with stride equal to 2. A detailed description of the architecture of our DL model - which we call “DistopticaNet” - can be found in the reference guide of EMicroML [28], a Python library that we have developed that provides the computational framework for training machine learning models for tasks in electron microscopy. 2.4. Training and validation data generation A common approach to generating training data for machine learning problems in electron diffraction is to use a physicsbased simulator to generate artificial diffraction patterns, e.g. the Bloch wave method [29, 30] or the multislice method [31, 30]. While physics-based simulators can yield training images that accurately depict experimental CBED patterns, they are typically time consuming and compute resource intensive. Moreover, in order to generate a diverse training dataset, one must model tediously a variety of samples of different lattice types, thicknesses, and defects. There are also an overwhelming number of optical system model parameters to vary such as the beam energy, semi-convergence angle, and lens aberrations. Rather than use physics-based simulators, we use basic mathematical functions to generate training and validation images that depict the essential geometric features of CBED patterns: CBED disks are modelled using circular disk supports, with intra-disk patterns generated using combinations of plane waves, asymmetric Gaussian and Lorentzian peaks, and hydrogen-like atomic orbitals; Kikuchi bands are modelled using basic geometric bands; Background intensities are modelled using combinations of asymmetric exponential, Gaussian, and Lorentzian peaks; Illumination supports (i.e. regions outside which electrons are not detected) are modelled using rectangular, circular, elliptical, and generic blob shapes; Aperture aberration effects are approximated using Gaussian filters; Poisson noise is also included. The properties - including locations, orientations, and length scales — of the geometric objects used to generate training and validation images are sampled randomly from various distributions. It is important to stress that our goal is not to generate images that accurately depict experimental CBED patterns, but to generate images that depict the essential geometric features of CBED patterns that can be detected and exploited by a DL model to predict the distortion field. The most important geometric feature to depict is that the artificial CBED disks in a given image are circular and share a common radius, upon perfect distortion correction. Figure 3 shows a sample of training images that are gamma-corrected. The distorted disks in Figs. 3(a), (b), and (e) lie on a distorted jittered Bravais lattices, simulating the effect of Bragg diffraction from a crystal. The positions of the distorted disks in Figs. 3(c), (d), and (f) were sampled uniformly in space. This was done for approximately 50% of the images to prevent the DL model from predicting distortion fields based on any features relating to reciprocal lattices, i.e. features relating to the sample. - = T◊;x - = �ux, uy T◊;y �ux, uy field �D◊;x �ux, uy�, D◊;y �ux, uy��. We refer to distortion fields that can be described equivalently by “standard” coordinate transformations as standard distortion fields. Each data instance in each dataset used to either train, validate, or test our DL model contains a single artificial distorted CBED pattern, and the 8 distortion parameters that specify the distortion field of the artificial CBED pattern, with each distortion parameter being min-max normalized with respect to some set of data instances. For a data instance belonging to either the training or validation dataset, the distortion parameters belonging to that data instance are min-max normalized with respect to the union of the data instances stored in the training and validation datasets. For a data instance belonging to a testing dataset, the distortion parameters belonging to that data instance are min-maxed normalized with respect to all of the data instances stored in that testing dataset. 2.3. Deep learning model Our DL model accepts as input a distorted CBED pattern, and returns as output the distortion parameters that specify the estimated distortion field of the CBED pattern, normalized using the same weights and biases as those used to normalize the data instances stored in the training dataset. The model has a encoder architecture that is similar to ResNet architectures [27], though it has a few notable differences: First, prior to any convolutions, the CBED pattern is min-max normalized, �ux, uy �ux, uy -, D◊;y 2.5 Loss 5 sampled distortion field [17, 20, 21], where the EPE error of a sampled vector field is defined as the Euclidean distance between the predicted field vector and its corresponding ground truth, averaged over all sampled positions �ux, uy�. Such a loss �ux, uy (a) (b) (c) (d) (e) (f) Figure 3: Sample of training images, gamma-corrected with a gamma value of 0.2. Distortion parameter Distribution Ar;0,2 U[−0.3,1.5) At;0,2 U[−0.75,0.75) Ae U[0,0.125) φe U[0,π) Ap U[0,0.35) φp U[0,2π) xc;D ∼U[0.25,0.75) yc;D ∼U[0.25,0.75) Table 1: The distributions from which the distortion parameters Ar;0,2, At;0,2, Ae, φe, Ap, φp, xc;D, and yc;D are sampled, in generating the training, validation, and testing datasets. U[a,b) is the continuous uniform distribution over the interval [a, b), and ∼U[a,b) is a distribution that is approximately equal to U[a,b). To describe the subspace of distortion fields from which we sampled to generate our training and validation datasets, truth, averaged over all sampled positions �ux, uy�. Such a loss is fine for problems that consider generic mixtures of different types of distortion as long as the distorted input images depict geometric features that are perfectly correlated with all of the distortion model parameters, and hence the distortion field described by said parameters. This is not the case for our particular problem as the generic mixtures we consider also include the possibility of purely elliptical distortion. Recall that, according to the assumptions made in Sec. 2.2, a CBED pattern containing CBED disks that are all perfectly circular sharing a common radius, is a distortion-free CBED pattern. A distortion field that implies an inverse mapping that transforms a distorted CBED pattern into one that is distortion-free is a distortion field that perfectly undistorts the distorted CBED pattern. For a CBED pattern subject to purely elliptical distortion, there are an infinite number of distortion fields that can perfectly undistort the CBED pattern, but a different distortion center. In other words, a distorted�, each having the same elliptical distortion vector <sup>�</sup> Ar;2,0, Br;1,0 CBED pattern obtained from a particular distortion field that is purely elliptical will not depict geometric features that are perfectly correlated with the distortion center of said field. Subtract by mean This is not the case for our particular problem as the generic mixtures we consider also include the possibility of purely elliptical distortion. Recall that, according to the assumptions made in Sec. 2.2, a CBED pattern containing CBED disks that are all perfectly circular sharing a common radius, is a distortion-free CBED pattern. A distortion field that implies an inverse mapping that transforms a distorted CBED pattern into one that is distortion-free is a distortion field that perfectly undistorts the distorted CBED pattern. For a CBED pattern subject to purely elliptical distortion, there are an infinite number of distortion fields that can perfectly undistort the CBED pattern, but a different distortion center. In other words, a distorted�, each having the same elliptical distortion vector <sup>�</sup> Ar;2,0, Br;1,0 Candidate distortion field #1 Subtract by mean we introduce the following quantities: Ae = �A <sup>2</sup> r <sup>2</sup> r;2,0 <sup>+ B</sup> r <sup>2</sup> r <sup>2</sup> ;1,0 <sup>,</sup> Candidate distortion field #2 φe = atan2 <sup>�</sup> Br;1,0/Ar;2,0� /2, Ap = �A <sup>2</sup> r;1,1 <sup>+ B</sup> r <sup>2</sup> ;0,1 <sup>,</sup> <sup>and</sup> <sup>φp</sup> <sup>=</sup> �. Table 1 lists the distributions from which the distortion parameters Ar;0,2, At;0,2, Ae, φe, Ap, and φp are atan2 <sup>�</sup> Br;0,1/Ar;1,1 φe = atan2 <sup>�</sup> Br;1,0/Ar;2,0 �. - /2, Ap = �A <sup>2</sup> r <sup>2</sup> r;1,1 <sup>+ B</sup> r <sup>2</sup> �. Table 1 lists the distributions from which the distortion parameters Ar;0,2, At;0,2, Ae, φe, Ap, and φp are atan2 <sup>�</sup> Br;0,1/Ar;1,1 sampled. The sampling of xc;D, and yc;D is more complicated, though the distributions from which they are sampled are both approximately equal to U[0.25,0.75), i.e. the continuous uniform distribution over the interval [0.25, 0.75). We generated 506880 and 126720 training and validation grayscaled images respectively, each with dimensions of 512 × 512 in units of pixels. Training and validation dataset generation was performed using EMicroML, which makes heavy use of FakeCBED [32] in this context. FakeCBED is a Python library that we have developed for generating images that depict the essential geometric features of CBED patterns. 2.5. Loss A popular choice for the single data instance loss for distortion estimation problems is the end-point error (EPE) of the Figure 4: An illustration of the ambiguity of the distortion center for purely elliptical distortion. The distortion fields in the bottom left and top right corners are consistent with the distorted artificial CBED pattern in the top left corner. However, subtracting these two distortion fields by their respective means yield the same modified distortion field, shown in the bottom right corner. The red dot in each distortion field indicates its distortion center. Figure 4 illustrates this ambiguity of the distortion center for purely elliptical distortion. The difference between any two distortion fields consistent with a CBED pattern subject to this type of distortion is a constant vector field. Subtracting each of these 2.6 Model training 6 distortion fields by their respective means yields the same modified distortion field, which incidentally is another distortion field consistent with the same CBED pattern, with its distortion center coinciding with the center of the distorted image. If any of the other types of distortion considered in this paper are present in a given CBED pattern, then the ambiguity vanishes and there is only one distortion field that is consistent with the distorted CBED pattern. Consider an abstract undistorted CBED pattern of nonoverlapping CBED disks that share a common radius, and that outside the CBED disk supports the intensity is zero, and inside each CBED disk support the intensity is a common positive value. Next, consider an abstract distorted CBED pattern obtained by distorting the abstract undistorted CBED pattern according to a standard distortion field. Under certain circumstances, as illustrated above, the abstract distorted CBED pattern will not be perfectly correlated with the standard distortion field. However, the abstract distorted CBED pattern should be perfectly correlated with a vector field obtained by subtracting the original standard distortion field by its mean. We refer to this vector field as the “adjusted” standard distortion field. In light of the above remarks, we propose an alternative single data instance loss L that can handle appropriately the special case of purely elliptical distortion: the EPE of the sampled adjusted standard distortion field. The mini-batch loss LB is simply the single data instance loss averaged over all data instances in the mini-batch. Each distortion field is sampled at the points ux, uy ∈ ux;m, uy;n, where - - �� ux;m = (m + 1/2) /N, uy;n = (n +� <sup>�</sup> ��� 1m/,2) n ∈{/N,0and, . . ., N Nis the number − 1} of pixels across the corresponding distorted CBED pattern. ux;m, uy;n �� - ∈ the points �ux, uy 2.6. Model training Our DL model is trained via supervised learning using the mini-batch stochastic gradient descent (SGD) optimization algorithm with the weight decay (i.e. the L2 penalty) equal to 7.25 × 10 <sup>−4</sup>, the momentum equal to 0.9, and the mini-batch size equal to 64. The learning rate is updated after every processed mini-batch during the training phase (i.e. not the validation phase). Over the first 4 epochs, the learning rate is increased linearly from 10 <sup>−8</sup> to 5×10 <sup>−3</sup> . Then, over the remaining 16 epochs, the learning rate is cosine annealed to 2 × 10 <sup>−5</sup> . Figure 5 shows the cumulative distribution functions (CDFs) of the EPE of the adjusted distortion field for the training and validation datasets, after the DL model has been trained. For both datasets, the DL model yields EPEs of the adjusted distortion field less than 0.84%, 1.13%, and 1.54% of the image width for over 25%, 50%, and 75% of the images respectively. Morever, we can see that no overfitting has occurred during training. 2.7. Testing data generation Given the way we generate our training dataset, it is natural to ask whether our DL model, trained with such a dataset, can accurately predict the distortion fields in images that more accurately depict experimental CBED patterns, i.e. that are more representative of real CBED patterns. To address this question, Figure 5: The cumulative distribution functions of the EPE of the adjusted distortion field, in units of the image width, with the predictions made by our trained DL model, for the training (yellow) and validation (green) datasets. we generated test images using multislice simulations. Specifically, we modelled a 5-layer sub-specimen of MoS2 on a 0.5 nm thick layer of amorphous C, that is illuminated by an electron beam operated at 20 keV. For all simulations, we included thermal effects, Poisson noise, and spherical and chromatic aberrations. We considered three semi-convergence angles, chosen to generate three target undistorted CBED disk radii in units of the image width: 1/35, (1/35 + 1/10)/2, and 1/10. For each semiconvergence angle, we generated a single undistorted simulated CBED pattern, with dimensions of 512 × 512 in units of pixels. Figure 6 shows the three undistorted simulated CBED patterns. Note that for Fig. 6(c), the CBED disks are overlapping. (a) (b) (c) Figure 6: The three undistorted simulated CBED patterns used to generate the testing datasets, gamma-corrected with a gamma value of 0.2. For each undistorted simulated CBED pattern, we generated a testing dataset containing 2880 randomly distorted versions of said pattern, where the distortion parameters were sampled in the same way as that for the training and validation datasets. Moreover, random illumination supports were imposed on the distorted simulated CBED patterns. Testing dataset generation was performed also using EMicroML, which makes heavy use of Prismatique [33] in this context. Prismatique is a Python library that we have developed, that is a wrapper to the multislice Python library PyPrismatic [34]. For convenience, we refer to the testing datasets containing the randomly distorted versions of the undistorted simulated CBED patterns shown in 2.8 Radial gradient maximization 7 Figs. (a), (b), and (c) as testing datasets A, B, and C, respectively. 2.8. Radial gradient maximization The performance test results of our DL approach are benchmarked against those obtained using the RGM approach to distortion estimation, specifically the single-disk variant [14, 15]. Strictly speaking, the RGM technique is used to estimate the displaced centers of the CBED disks in the simulated CBED patterns generated in Sec. 2.7, namely the CBED disks corresponding to the direct beam, and the Bragg reflections that are nearest and next-nearest neighbours to the direct beam (13 disks in total). For each simulated CBED pattern, the distortion field is estimated as follows: 1. Estimate the displaced centers ��q˜ x:C;i, ˜qy;C;i ��i12= aforementioned 13 CBED disks, where �q˜ x;C;i, ˜qy;C;i� is the estimated displaced center of the i <sup>th</sup> CBED disk; �i12=0 <sup>between</sup> <sup>the</sup> <sup>es-</sup> 2. timatedCalculatedisplacedEuclideancentersdistancesq˜ x;C; <sup>�</sup> qierr;C;, ˜qy;C;i i �� ��i12=0 <sup>and</sup> <sup>their</sup> <sup>re-</sup> �q˜ x;C;i, ˜qy;C;i aforementioned 13 CBED disks, where i12=0 <sup>of</sup> <sup>the</sup> timated displaced centers ��q˜ x;C;i, ˜qy;C;i i12=0 <sup>and</sup> <sup>their</sup> <sup>re-</sup> ��i12= ��i12= spective ground truths ��qx;C;i, qy;C;i��i12=0 <sup>,</sup> <sup>where</sup> <sup>qerr;C;i</sup> <sup>=</sup> α∈{x,y} �� �q˜α;C;i − qα;C;i�2; spective ground truths ��qx;C;i, qy;C;i �q˜α;C;i − qα;C;i�2; �i12=0 <sup>, where Θi</sup> <sup>is set to 1</sup> 3. Calculate an outlier registry <sup>�</sup> ΘC;i i=0 <sup>by more than</sup> �12 if qerr;C;i differs from the mean of <sup>�</sup> qerr;C;i=i 0 <sup>,</sup> <sup>else it is set to</sup> twice the standard deviation of <sup>�</sup> qerr;C;i�12 Calculate an outlier registry <sup>�</sup> ΘC;i i=0 <sup>by more than</sup> �12 if qerr;C;i differs from the mean of <sup>�</sup> qerr;C;i=i 0 <sup>,</sup> <sup>else it is set to</sup> 0; �12 twice the standard deviation of <sup>�</sup> qerr;C;i if qerr;C;i differs from the mean of <sup>�</sup> qerr;C;i=i 0 <sup>,</sup> <sup>else it is set to</sup> 0; �12 twice the standard deviation of <sup>�</sup> qerr;C;i 4. Estimate the distortion parameters of the CBED pattern via non-linear least squares, where the residuals - rα;i - are calculated by - rα;i ����αq˜ ∈{α;C;ix −, yD} <sup>˜</sup> ◊and;α i�u ∈{x =0 u, . . .,x;C;i 12, uy}�= uarey;C;calculatedi�� ΘC;i, withby �q˜α;C;i − D <sup>˜</sup> ◊;α �ux = ux;C;i, uy = uy;C;i rα;i = �q˜α;C;i − D <sup>˜</sup> ◊;α �ux = ux;C;i, uy = uy;C;i�� ΘC;i, with �ux;C;i, uy;C;i� being the center of the i <sup>th</sup> CBED disk in the rα;i = - being the center of the i <sup>th</sup> CBED disk in the absence of distortion, and D <sup>˜</sup> ◊;α �ux, uy - being the α <sup>th</sup> com y�, D <sup>˜</sup> ◊;y �ux, uy the specimen as well. By comparison, a model of the scattering object, constructed via ptychography,estimates this missing phase-shift information. Morever, from a model of the scattering object, one can compute intensity images that quantify the same information as that in TEM and STEM images. The optical distortion present in the input 4D-STEM dataset must be removed to provide the highest resolution reconstructions. In a previous work of ours [6], an iterative distortion correction technique was used that involved taking the Fourier transform (FT) of a ptychographic reconstruction of a known material and fitting this to a pincushion-distorted version of the expected (i.e. ideal and undistorted) FT. Like the RGM approach, the iterative distortion correction that we have previously used for ptychography requires either a known calibration sample or good knowledge of the target sample to be observed. Furthermore, this iterative approach assumed only pincushion distortion, however there are other types of distortion that may be present in the 4D-STEM data. As our first application of our DL framework, we correct the optical distortion in an experimental 4D-STEM dataset used for electron ptychography and show that this preprocessing of the data improves the quality of ptychographic reconstructions, compared to those obtained using the iterative distortion correction technique. The 4D-STEM dataset was collected at 20 keV for a sample of Au islands on a thin film of MoS2. A subset of the CBED patterns in the 4D-STEM dataset were summed together to yield a pattern with disks that has an enhanced signal-to-noise ratio compared to the individual CBED patterns in the dataset. We assumed each CBED pattern in the 4D-STEM dataset was subject to the same distortion field, and estimated said distortion field by passing the enhanced pattern through our DL model. Distortion correction was applied to each CBED pattern in the dataset via DistOptica, according to the distortion field predicted by our DL model. The ptychographic reconstruction was performed subsequently on the distortion-corrected dataset using our own custom version of PtychoShelves [36]. The results of this application are presented in Sec. 3.2. 2.10. Selected area electron diffraction SAED is one of the most common techniques for acquiring 2D electron diffraction patterns. This technique can be used to determine the structure, orientation, and defects of crystals. However, the accuracy of the information that can be extracted from SAED is often limited by the presence of optical distortion. Unlike CBED, the sample is illuminated by a parallel or near-parallel electron beam in SAED, which produces diffraction patterns containing diffraction spots rather than diffraction disks. One can switch from a convergent to near-parallel electron beam by adjusting the pre-specimen lenses only. Recall that in Sec. 2.2 we mentioned that, broadly speaking, the distortion effects of pre-specimen lenses are negligible compared to those of post-specimen lenses. This implies that our DL framework can be adapted to SAED experiments as follows: First, collect the target SAED data of the sample of interest; Second, adjust the pre-specimen lenses only to form a convergent beam �� ponent of the distortion field ux, uy �D˜ ◊;x specified by the distortion parameters. The bencmarking results are presented in Sec. 3.1. 2.9. Ptychography A computational approach to improving resolution that does not require aberration correctors, or a high-pixel count detector is electron ptychography [35], which has been increasing in popularity over the last two decades. Electron ptychography takes as input data a 4D-STEM dataset, and constructs as output a model of the incident electron beam and the electrostatic fields of the illuminated specimen, i.e. the scattering object. Critically, the spacing between probe positions must be sufficiently small such that there is an appreciable amount of overlap between neighbouring illumination areas. This illumination overlap imposes a mathematical constraint that is necessary in order to construct a unique ptychographic model. As TEM and STEM images only measure intensity, they discard the phaseshift information of the exit electron waves that produce said images, and hence information about the electrostatic fields in while keeping the location of the direct beam fixed on the detector; Third, collect CBED data and estimate the distortion field in the CBED data using our DL framework; Finally, apply distortion correction to the SAED data using the distortion field estimated in the previous step. As our second application of our DL framework, we correct the distortion in a SAED pattern of a single crystal Au specimen oriented in the [100] direction, using the procedure described above. The SAED experiment, like the corresponding CBED experiment, was performed on the modified Hitachi SU9000 SEM described in Sec. 2.1, operated at 20 keV. The results of this application are presented in Sec. 3.3. 3. Results and discussions 3.1. Multislice simulation tests Figure 7 shows the cumulative distribution functions (CDFs) of the EPE of the adjusted distortion field, with the predictions made by our DL model, and the RGM approach, for the three testing datasets that we generated using multislice simulations. While the RGM approach outperforms our DL approach for the CBED patterns with very small disks, our DL approach outperforms the RGM approach for the CBED patterns with mediumsized disks, and large overlapping disks. (a) (b) (c) Figure 7: The cumulative distribution functions of the EPE of the adjusted distortion field, in units of the image width, with the predictions made by our DL model (red) and the RGM approach (blue), for: (a) testing dataset A; (b) testing dataset B; and (c) testing dataset C. The fact that the RGM approach performs worse for the CBED patterns with overlapping disks is expected, as the RGM technique relies on the disks being well-separated. However, it is not obvious why the performance of the RGM approach is appreciably better for the CBED patterns with very small disks, compared to its performance for CBED patterns with mediumsized disks. One possible explanation is that the CBED disks corresponding to the Bragg reflections that are next-nearest neighbours to the direct beam in Fig. 6(b) appear to be less uniform compared to those in Fig. 6(a). In general, the accuracy of the RGM technique should improve as the CBED disks 8 become more uniform. Upon further inspection, we have confirmed that indeed the RGM technique does not predict the displaced centers of these outer CBED disks as accurately in testing dataset B, as it does for those in testing dataset A. A second possible explanation is that the size of the search space of the displaced center of a distorted CBED disk decreases as the radius of the CBED disk decreases, hence the maximum possible error decreases as well. A third possible explanation is that as the CBED disk radius decreases, smaller details of the CBED disk deformities cannot be resolved in an image, thus making it more difficult for our DL approach to extract geometric features that are relevant to predicting distortion fields. According to Fig. 7, our DL approach performs best for CBED patterns of non-overlapping CBED disks of intermediate size, with comparable performance for those of large overlapping CBED disks. For testing datasets A, B, and C, the DL model yields EPEs of the adjusted distortion field less than 1.96%, 1.06%, and 1.27% of the image width for over 75% of the images respectively. While there are cases where the RGM approach outperforms our DL approach, it is important to stress that the latter has the advantage of not requiring knowledge of the sample of interest. That being said, we have demonstrated that there are conditions, common to many experiments, under which our DL approach should outperform the RGM approach. The benchmarking results in this section thus suggest that our DL approach achieves a good compromise between convenience and accuracy. 3.2. Correcting distortion in experimental 4D-STEM datasets for ptychography The amplitude of the exit wave resulting from the ptychographic reconstruction using the experimental 4D-STEM dataset of the sample of Au on MoS2, obtained via our DL distortion correction method, is shown in Fig. 8(b). For comparison, we show that which was obtained using the iterative distortion correction method used in Ref. [6], which assumes that only pincushion distortion is present. Figures 8(c) and (d) show the amplitudes of the Fourier transforms of (a) and (b) respectively. The improved clarity in the amplitude of the exit wave obtained using our DL distortion correction approach is apparent from the sharper peaks exhibited in the corresponding Fourier transform. 3.3. Correcting distortion in experimental SAED data Figure 9 illustrates the steps in our procedure for correcting the distortion in an experimental SAED pattern of a single crystal Au specimen oriented in the [100] direction. The SAED pattern that we collected, prior to distortion correction, is shown in Fig. 9(a). After collecting the SAED pattern, we adjusted the pre-specimen lenses to form a CBED pattern. This CBED pattern, prior to distortion correction, is shown in Fig. 9(b). Next, we apply a mask to block all but most of the zero-order Laue zone (ZOLZ) reflections, which is shown in Fig. 2.10(c). We found that masking can improve the performance of our DL model. One possible explanation is that at low beam energies and small CBED disk sizes, the Ewald sphere curvature can be quite pronounced and the small-angle approximation may not 3.3 Correcting distortion in experimental SAED data 9 (a) (b) (a) (b) (c) (d) Figure 8: Ptychographic reconstructions using distortion-corrected experimental 4D-STEM datasets of a sample of Au on MoS2: (a) The amplitude of the exit wave resulting from the ptychographic reconstruction using the 4D-STEM dataset obtained via the iterative distortion correction method used in Ref. [6]; (b) Same as (a) except the 4D-STEM dataset was obtained via our DL distortion correction method; (c) The amplitude of the Fourier transform of (a); and (d) The amplitude of the Fourier transform of (b). The yellow lines in (c) and (d) guide the eye between related Fourier peaks. The red circles mark the direct (000) beams in the Fourier transforms. hold across the entire angular field of view of a given CBED pattern, both of which may affect the validity of our assumption that the CBED pattern should depict only near-perfect circular CBED disks of the same common radius, in the absence of distortion. This should only be a concern at larger scattering angles, which is why we did not mask most of the ZOLZ reflections of (b). After masking, we used our DL model to predict the distortion field of this CBED pattern, which is shown in Fig. 9(d). Distortion correction was applied subsequently to the original CBED pattern via DistOptica, according to the distortion field predicted by our DL model. The distortioncorrected CBED pattern is shown in Fig. 9(e). Lastly, according to the same distortion field, we also applied distortion correction to the original SAED pattern, the result of which is shown in Fig. 9(f). Given that our sample is single-crystal Au oriented in the [100] direction, used for calibration, we know that the zeroorder Laue zone (ZOLZ) reflections should lie approximately on a square lattice. Again, the fact that they should lie only approximately on a square lattice is due to the curvature of the Ewald sphere. However, the deviation should be no more than 2 pixels (or 0.0039 in units of the image width) for ZOLZ reflections. Therefore, to assess the accuracy of the distortion correction, we fit squares lattices to the most visible ZOLZ reflections, for each SAED pattern, which are shown in Figs. 9(a) and (f). We define the lattice fit error to be the square root of the mean of the Euclidean distances squared between the ZOLZ reflections and their corresponding points on the square lattice fit. (c) (d) (e) (f) Figure 9: Correcting the distortion in an experimental SAED pattern of a single crystal Au specimen oriented in the [100] direction, following the methodology described in Sec. 2.10: (a) The as-recorded SAED pattern, prior to distortion correction; (b) The as-recorded CBED pattern, prior to distortion correction; (c) Same as (b) but with a rectangular mask frame; (d) The distortion field of (c) predicted by our DL model; (e) The distortion-corrected CBED pattern using the distortion field in (d); and (f) The distortion-corrected SAED pattern using the distortion field in (d). In both (a) and (f), the black dots form the best square lattice fits to the visible zero order Laue zone reflections. All intensity patterns are gamma-corrected with a gamma value of 0.2. The lattice fit shown in Fig. 9(f) was obtained using the same DL model as that used in Secs. 3.1 and 3.2. In units of the image width, the error of the fit for the as-recorded SAED pattern, prior to distortion correction, was 0.0094. For the distortioncorrected SAED pattern, the error of the fit is 0.0046, which is more than a two-fold improvement. We also investigated how sensitive the performance of our DL model was to the random number generator (RNG) seed used during training. We trained 10 DL models in total, each with a different RNG seed, and found the mean of the lattice fit error to be 0.0048, with a standard deviation of 0.0017. The results in this section indicate that our assumption that optical distortions originate predominantly from post-specimen lenses is reasonable. Moreover, we have demonstrated in this section that our DL approach to distortion correction is versatile enough to handle both CBED and SAED data. 4. Conclusions We have developed a DL framework for measuring and correcting optical distortions in CBED patterns. We adopted a new method for training data generation where we used basic mathematical functions to generate images that depict the essential features of CBED patterns, rather than use physics-based simulators. This approach enabled us to generate large amounts of diverse training data fast, in a relatively straightforward manner. However, with our approach, the training data set size, the number of epochs, and the SGD weight decay hyperparameters, need to be carefully chosen in order to avoid overfitting. It is important to note that even if the distributions of the training and validation losses are virtually identical at the end of training, there is still the possibility of overfitting, as the training and validation datasets contain artificial CBED patterns that capture only the essential geometric features of experimental CBED patterns. The results of Sec. 3 strongly indicate that we have successfully trained a DL model that generalizes well to simulated CBED patterns that are generated using physics-based simulators, as well as experimental CBED patterns. It is worth emphasizing that the main feature of our DL approach to distortion correction is that it does not require knowledge of the sample of interest. By contrast, conventional distortion correction approaches, e.g. the RGM approach, generally require either precise knowledge of the sample being investigated, which is often not available, or a calibration sample, which adds inconvenience to experiments. While there are cases where the RGM approach outperforms our DL approach in terms of accuracy, our benchmarking results of Sec. 3.1 show that there are conditions common to many experiments, e.g. ptychography experiments, under which our DL approach outperforms the RGM approach. We have also shown how our DL framework can be extended to handle SAED patterns, thus demonstrating that not only is our approach to the distortion correction of electron diffraction patterns accurate and convenient, it is also very versatile. Our work is expected to benefit high accuracy electron diffraction work, particularly at low-beam energies, and improve the quality of electron ptychographic reconstructions, which require accurate electron diffraction data. CRediT authorship contribution statement Matthew R. C. Fitzpatrick: Conceptualization, Methodology, Software, Validation, Formal Analysis, Investigation, Data Curation, Writing - Original Draft, Visualization. Arthur M. Blackburn: Conceptualization, Software, Investigation, Writing - Review & Editing, Supervision, Project Administration, Funding Acquisition. Cristina Cordoba: Investigation, Writing - Review & Editing. 10 Declaration of competing interest Hitachi High-Tech provided the SU9000 scanning electron microscope used in this study, and supports a research chair for Arthur M. Blackburn. Acknowledgements We thank Kate Reidy and Frances Ross (MIT) for providing the Au/MoS2 sample. The extensive support given from Dectris AG (Switzerland) and the provision of developmental Quadro cameras that expedited this work is gratefully acknowledged. This work was part-funded by the Natural Sciences and Engineering Research Council of Canada (NSERC), from Collaborative Research and Development grant (CRDPJ 543431), partnering with Hitachi High-Tech Canada. Part of the data processing for ptychography was carried out using the cSAXS ptychography MATLAB package developed by the Science IT and the coherent X-ray scattering (CXS) groups, Paul Scherrer Institute, Switzerland. All code in this work not pertaining to the acquisition of experimental data was performed using the Advanced Research Computing (ARC) facilities of Digital Research Alliance of Canada. Members of Hitachi HighTech, Naka, Japan, who developed and integrated the projection lens on the experimental SU9000 instrument, are thanked and acknowledged, with special thanks going to Kazutoshi Kaji, Satoshi Okada, and Toshi Agemura. Data availability The trained DL model used to obtain the results of Sec. 3, along with all of the testing images, subsets of the training and validation images, and the data presented in Figs. 5 and 7, is freely available in the Canadian Federated Research Data [Repository at https://doi.org/10.20383/103.01400.](https://doi.org/10.20383/103.01400) Code availability All code in this work not pertaining to the acquisition of experimental data nor ptychographic reconstructions is freely available in the GitHub repository [https://github.com/mrfitzpa/emicroml.](https://github.com/mrfitzpa/emicroml) References [1] K. R. Vinothkumar, R. Henderson, Single particle electron cryomi croscopy: trends, issues and future perspective, Quarterly Reviews of Biophysics 49 (2016) e13. [doi:10.1017/S0033583516000068.](https://doi.org/10.1017/S0033583516000068) [2] B. Wei, X. Lu, F. Voisard, H. Wei, H.-c. Chiu, Y. Ji, X. Han, M. L. Trudeau, K. Zaghib, G. P. Demopoulos, R. Gauvin, In situ tem investigation of electron irradiation [induced metastable states in lithium-io](https://doi.org/10.1021/acsaem.8b00391) ACS Applied Energy Materials 1 (7) (2018) 3180–3189. [doi:10.1021/acsaem.8b00391.](https://doi.org/10.1021/acsaem.8b00391) [URL https://doi.org/10.1021/acsaem.8b00391](https://doi.org/10.1021/acsaem.8b00391) [3] [S. J. Pennycook, The impact of stem aberration correction on materials science,](https://www.sciencedirect.com/science/article/pii/S0304399117301213) Ultramicroscopy 180 (2017) 22–33, ondrej Krivanek: A research life in EELS and aberration corrected STEM. [doi:https://doi.org/10.1016/j.ultramic.2017.03.020.](https://doi.org/https://doi.org/10.1016/j.ultramic.2017.03.020) [URL https://www.sciencedirect.com/science/article/pii/S030439911](https://www.sciencedirect.com/science/article/pii/S0304399117301213) REFERENCES 11 [4] K. Murata, M. Wolf, Cryo-electron [microscopy for structural analysis of dynamic biological macromolecules,doi:10.1109/TCSVT.2019.2897984](https://www.sciencedirect.com/science/article/pii/S0304416517302374) [doi:10.1109/TCSVT.2019.2897984.](https://doi.org/10.1109/TCSVT.2019.2897984) [19] H. Feng, W. Wang, J. Deng, W. Zhou, L. Li, H. Li, [SimFIR: A Simple Framework for Fisheye Image Rectification](https://doi.ieeecomputersociety.org/10.1109/ICCV51070.2023.01141) with Self-supervised in: 2023 IEEE/CVF International Conference on Computer Vision (ICCV), IEEE Computer Society, 2023, pp. 12384–12393. [doi:10.1109/ICCV51070.2023.01141.](https://doi.org/10.1109/ICCV51070.2023.01141) [URL https://doi.ieeecomputersociety.org/10.1109/ICCV51070.2023.0](https://doi.ieeecomputersociety.org/10.1109/ICCV51070.2023.01141) [20] X. Li, B. Zhang, P. V. Sander, J. Liao, Blind geometric distortion correc Biochimica et Biophysica Acta (BBA) - General Sub- [19] H. Feng, jects 1862 (2) (2018) 324–334, biophysical Exploration of Dynamical Ordering of Biomolecular Systems. in: 2023 [doi:https://doi.org/10.1016/j.bbagen.2017.07.020.](https://doi.org/https://doi.org/10.1016/j.bbagen.2017.07.020) sion [URL https://www.sciencedirect.com/science/article/pii/S0304416517302374](https://www.sciencedirect.com/science/article/pii/S0304416517302374) [5] M. Linck, P. Hartel, S. Uhlemann, F. Kahl, H. Müller, URL J. Zach, M. Haider, M. Niestadt, M. Bischoff, J. Bisku- [20] pek, Z. Lee, T. Lehnert, F. Börrnert, H. Rose, U. Kaiser, [Chromatic aberration correction for atomic resolution tem imaging from 20 to 80 kv,](https://link.aps.org/doi/10.1103/PhysRevLett.117.076101) Phys. Rev. Lett. 117 (2016) 076101. [doi:10.1103/PhysRevLett.117.076101.](https://doi.org/10.1103/PhysRevLett.117.076101) [21] S. Li, [URL https://link.aps.org/doi/10.1103/PhysRevLett.117.076101](https://link.aps.org/doi/10.1103/PhysRevLett.117.076101) An effi [6] A. M. Blackburn, C. Cordoba, M. R. C. Fitzpatrick, R. A. McLeod, Sub- Vis. tion on images through deep learning, in: 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019, pp. 4850–4859. [doi:10.1109/CVPR.2019.00499](https://doi.org/10.1109/CVPR.2019.00499) . [21] S. Li, Y. Chu, Y. Zhao, P. Zhao, An efficient deep learning-based [framework for image distortion correction,](https://doi.org/10.1007/s00371-024-03580-3) Vis. Comput. 40 (10) (2024) 6955–6967. [doi:10.1007/s00371-024-03580-3.](https://doi.org/10.1007/s00371-024-03580-3) [URL https://doi.org/10.1007/s00371-024-03580-3](https://doi.org/10.1007/s00371-024-03580-3) [22] K. Kasuya, S. Katagiri, T. Ohshima, S. Kokubo, Stabilization [of a tungsten ⟨310⟩](https://doi.org/10.1116/1.3488988) cold field emitter, Journal of Vacuum Science & Technology B 28 (5) (2010) L55–L60. [doi:10.1116/1.3488988.](https://doi.org/10.1116/1.3488988) [URL https://doi.org/10.1116/1.3488988](https://doi.org/10.1116/1.3488988) [23] G. Tinti, H. Marchetto, C. A. F. Vaz, A. Kleibert, M. Andrä, R. Barten, ångström resolution ptychography in a scanning electron microscope- [doi:10.1007/s00371-024-03580-3.](https://doi.org/10.1007/s00371-024-03580-3) Manuscript under review (2025). [URL https://doi.org/10.1007/s00371-024-03580-3](https://doi.org/10.1007/s00371-024-03580-3) [7] M. J. Peet, R. Henderson, C. J. Russo, [22] K. Kasuya, S. Katagiri, T. [The energy dependence of contrast and damage in electron cryomicroscopy of biological molecules,Stabilization](https://www.sciencedirect.com/science/article/pii/S0304399118304261) [of a tungsten ⟨310⟩](https://doi.org/10.1116/1.3488988) cold field emitter, Ultramicroscopy 203 (2019) 125–131. Vacuum Science & Technology B 28 [doi:https://doi.org/10.1016/j.ultramic.2019.02.007.](https://doi.org/https://doi.org/10.1016/j.ultramic.2019.02.007) [doi:10.1116/1.3488988.](https://doi.org/10.1116/1.3488988) [URL https://www.sciencedirect.com/science/article/pii/S0304399118304261URL https://doi.org/10.1116/1.3488988](https://www.sciencedirect.com/science/article/pii/S0304399118304261) [8] H. Erickson, Size and shape of protein molecules at the [23] G. Tinti, H. Marchetto, C. A. F. Vaz, A. nanometer level determined by sedimentation, gel filtration, and A. Bergamaschi, M. Brückner, S. Cartier, electron microscopy, Biol. Proced. Online 11 (2009) 32–51. E. Fröjdh, D. Greiffenberg, C. Lopez-Cuenca, [doi:10.1007/s12575-009-9008-x.](https://doi.org/10.1007/s12575-009-9008-x) F. Nolting, M. Ramilli, S. Redford, M. [9] D. C. Shepherd, S. Dalvi, D. Ghosal, T. Schmidt, B. Schmitt, F. Schütz, X. Shi, D. Thattil, From cells to atoms: Cryo-EM as an essential tool to investigate pathogen biology, host-pathogen interactiThe EIGER detector f o n,r low-enerand dru g discovery, Mol. Microbiol. 117 (3) (2022) 610–617. Journal of Synchrotron Radiation 24 [doi:https://doi.org/10.1111/mmi.14820.](https://doi.org/https://doi.org/10.1111/mmi.14820) [doi:10.1107/S1600577517009109.](https://doi.org/10.1107/S1600577517009109) [URL https://onlinelibrary.wiley.com/doi/abs/10.1111/mmi.14820](https://onlinelibrary.wiley.com/doi/abs/10.1111/mmi.14820) [URL https://doi.org/10.1107/S1600577517009109](https://doi.org/10.1107/S1600577517009109) [10] K. Wentinck, C. Gogou, D. H. Meijer, [24] P. Hawkes, E. Kasper, Principles of Electron Putting on molecular weight: [Enabling cryo-EM structure determination](https://www.sciencedirect.com/science/article/pii/S2665928X22000290) of sub-100-kDa proteins,sic Geometrical Optics, second edition Edition, Curr. Res. Struct. Biol. 4 (2022) 332–337. [doi:https://doi.org/10.1016/C2015-0-06653-9](https://doi.org/https://doi.org/10.1016/C2015-0-06653-9) [doi:https://doi.org/10.1016/j.crstbi.2022.09.005.](https://doi.org/https://doi.org/10.1016/j.crstbi.2022.09.005) [25] P. Brázda, M. Klementová, Y. [URL https://www.sciencedirect.com/science/article/pii/S2665928X22000290Accurate lattice parameters from 3D electron di](https://www.sciencedirect.com/science/article/pii/S2665928X22000290) [11] L. Martini, V. Mišeikis, D. Esteban, J. Azpeitia, S. Pezzini, P. Paletti, IUCrJ 9 (6) (2022) 735–755. A. Bergamaschi, M. Brückner, S. Cartier, R. Dinapoli, T. Franz, E. Fröjdh, D. Greiffenberg, C. Lopez-Cuenca, D. Mezza, A. Mozzanica, F. Nolting, M. Ramilli, S. Redford, M. Ruat, C. Ruder, L. Schädler, T. Schmidt, B. Schmitt, F. Schütz, X. Shi, D. Thattil, S. Vetter, J. Zhang, pathogen biology, host-pathogen interactiThe EIGER detector f o n,r low-enerand dru g [discovery,y electron microscopy and photoemission electron](https://doi.org/10.1107/S1600577517009109) Journal of Synchrotron Radiation 24 (5) (2017) 963–974. [doi:10.1107/S1600577517009109.](https://doi.org/10.1107/S1600577517009109) [URL https://doi.org/10.1107/S1600577517009109](https://doi.org/10.1107/S1600577517009109) [24] P. Hawkes, E. Kasper, Principles of Electron Optics, Volume One: Ba of sub-100-kDa proteins,sic Geometrical Optics, second edition Edition, Academic Press, 2018. [doi:https://doi.org/10.1016/C2015-0-06653-9](https://doi.org/https://doi.org/10.1016/C2015-0-06653-9) . [25] P. Brázda, M. Klementová, Y. Krysiak, L. Palatinus, [Accurate lattice parameters from 3D electron diffraction data. I. Optical distortions,](https://doi.org/10.1107/S2052252522007904) IUCrJ 9 (6) (2022) 735–755. [doi:10.1107/S2052252522007904](https://doi.org/10.1107/S2052252522007904) . [URL https://doi.org/10.1107/S2052252522007904](https://doi.org/10.1107/S2052252522007904) [26] M. R. C. Fitzpatrick, [Distoptica (2025).](https://mrfitzpa.github.io/distoptica/0.3.3/en) M. W. Ochapski, D. Convertino, M. G. Hernandez, I. Jimenez, [URL https://doi.org/10.1107/S2052252522007904](https://doi.org/10.1107/S2052252522007904) C. Coletti, [Scalable high-mobility graphene/hbn heterostructures,](https://doi.org/10.1021/acsami.3c06120) [26] M. R. C. Fitzpatrick, [Distoptica (2025).](https://mrfitzpa.github.io/distoptica/0.3.3/en) ACS Appl. Mater. Interfaces 15 (31) (2023) 37794–37801. [URL https://mrfitzpa.github.io/distoptica/0.3.3/en](https://mrfitzpa.github.io/distoptica/0.3.3/en) [doi:10.1021/acsami.3c06120](https://doi.org/10.1021/acsami.3c06120) . [27] K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recog[URL https://doi.org/10.1021/acsami.3c06120](https://doi.org/10.1021/acsami.3c06120) nition, in: 2016 IEEE Conference on Computer Vision and Pattern Recog [12] S. Kretschmer, T. Lehnert, U. Kaiser, A. V. Krasheninnikov, nition, 2016, pp. 770–778. [doi:10.1109/CVPR.2016.90](https://doi.org/10.1109/CVPR.2016.90) . Formation of defects in two-dimensional MoS2 [in the transmission electron microscope at electron energies below the knock-on threshold:[28]](https://doi.org/10.1021/acs.nanolett.0c00670) [M. R. C. Fitzpatrick,](https://doi.org/10.1021/acs.nanolett.0c00670) [EmicroML (2025).](https://github.com/mrfitzpa/emicroml) The role of electronic excitatio Nano Lett. 20 (4) (2020) 2865–2870. [URL https://github.com/mrfitzpa/emicroml](https://github.com/mrfitzpa/emicroml) [doi:10.1021/acs.nanolett.0c00670.](https://doi.org/10.1021/acs.nanolett.0c00670) [29] R. Yuan, J. Zhang, L. He, J.-M. Zuo, [URL https://doi.org/10.1021/acs.nanolett.0c00670](https://doi.org/10.1021/acs.nanolett.0c00670) [Training artificial neural networks for precision orientation](https://www.sciencedirect.com/science/article/pii/S0304399121000486) and strain mapping using [13] M. C. Lemme, D. Akinwande, C. Huyghebaert, C. Stampfer, Ultramicroscopy 231 (2021) 113256. [2D materials for future heterogeneous](https://europepmc.org/articles/PMC8927416) electronics, Nat. Commun. 13 (1) [doi:https://doi.org/10.1016/j.ultramic.2021.113256.](https://doi.org/https://doi.org/10.1016/j.ultramic.2021.113256) (2022) 1392. [doi:10.1038/s41467-022-29001-4.](https://doi.org/10.1038/s41467-022-29001-4) [URL https://www.sciencedirect.com/science/article/pii/S030439912](https://www.sciencedirect.com/science/article/pii/S0304399121000486) [URL https://europepmc.org/articles/PMC8927416](https://europepmc.org/articles/PMC8927416) [30] E. J. Kirkland, Advanced Computing in Electron Microscopy, Springer, [14] K. Müller, A. Rosenauer, M. Schowalter, J. Zweck, R. Fritz, K. Volz, 2010. [doi:10.1007/978-1-4419-6533-2.](https://doi.org/10.1007/978-1-4419-6533-2) [URL https://mrfitzpa.github.io/distoptica/0.3.3/en](https://mrfitzpa.github.io/distoptica/0.3.3/en) [27] K. He, X. Zhang, S. Ren, J. Sun, Deep residual learning for image recog nition, in: 2016 IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 770–778. [doi:10.1109/CVPR.2016.90](https://doi.org/10.1109/CVPR.2016.90) . [28] [M. R. C. Fitzpatrick,](https://doi.org/10.1021/acs.nanolett.0c00670) [EmicroML (2025).](https://github.com/mrfitzpa/emicroml) The role of electronic [URL https://github.com/mrfitzpa/emicroml](https://github.com/mrfitzpa/emicroml) [29] R. Yuan, J. Zhang, L. He, J.-M. Zuo, [Training artificial neural networks for precision orientation](https://www.sciencedirect.com/science/article/pii/S0304399121000486) and strain mapping using Ultramicroscopy 231 (2021) 113256. [doi:https://doi.org/10.1016/j.ultramic.2021.113256.](https://doi.org/https://doi.org/10.1016/j.ultramic.2021.113256) [URL https://www.sciencedirect.com/science/article/pii/S030439912](https://www.sciencedirect.com/science/article/pii/S0304399121000486) [30] E. J. Kirkland, Advanced Computing in Electron Microscopy, Springer, 2010. [doi:10.1007/978-1-4419-6533-2.](https://doi.org/10.1007/978-1-4419-6533-2) [31] J. Munshi, A. Rakowski, B. H. Savitzky, S. E. Zeltmann, J. Ciston, M. Henderson, S. Cholia, A. M. Minor, M. K. Y. Chan, C. Ophus, Disentangling multiple scattering with deep learning: application to strain mapping from electron diffraction patterns, npj Computational Materials 8 (1) (12 2022). [doi:10.1038/s41524-022-00939-9.](https://doi.org/10.1038/s41524-022-00939-9) [32] M. R. C. Fitzpatrick, [FakeCBED (2025).](https://mrfitzpa.github.io/fakecbed/0.3.6/en) [Strain measurement in semiconductor heterostructures](https://doi.org/10.1017/S1431927612001274) by scanning transmission electron microscopy,[31] J. Munshi, A. Microsc. Microanal. 18 (5) (2012) 995–1009. M. Henderson, S. [doi:10.1017/S1431927612001274](https://doi.org/10.1017/S1431927612001274) . entangling multiple [URL https://doi.org/10.1017/S1431927612001274](https://doi.org/10.1017/S1431927612001274) mapping from electron [15] C. Mahr, K. Müller-Caspary, R. Ritz, M. Simson, T. Grieb, M. Schowal- 8 (1) (12 2022). ter, F. F. Krause, A. Lackmann, H. Soltau, A. Wittstock, A. Rosenauer, [32] M. R. C. Fitzpatrick, [Influence of distortions of recorded diffraction patterns on strain analysis by nano-beam electron diURL](https://www.sciencedirect.com/science/article/pii/S0304399118300111) ffraction, Ultramicroscopy 196 (2019) 74–82. [33] M. R. C. Fitzpatrick, [doi:https://doi.org/10.1016/j.ultramic.2018.09.010.](https://doi.org/https://doi.org/10.1016/j.ultramic.2018.09.010) URL [URL https://www.sciencedirect.com/science/article/pii/S0304399118300111[34]](https://www.sciencedirect.com/science/article/pii/S0304399118300111) L. Rangel DaCosta, H. [16] W. Wang, H. Feng, W. Zhou, Z. Liao, H. Li, Model-aware pre-training for [URL https://mrfitzpa.github.io/fakecbed/0.3.6/enffraction,](https://mrfitzpa.github.io/fakecbed/0.3.6/en) [33] M. R. C. Fitzpatrick, [Prismatique (2025).](https://mrfitzpa.github.io/prismatique/0.0.1/en) [URL https://mrfitzpa.github.io/prismatique/0.0.1/en](https://mrfitzpa.github.io/prismatique/0.0.1/en) [34] L. Rangel DaCosta, H. G. Brown, P. M. Pelz, A. Rakowski, N. Bar radial distortion rectification, IEEE Transactions on Image Processing 32 (2023) 5764–5778. [doi:10.1109/TIP.2023.3321459.](https://doi.org/10.1109/TIP.2023.3321459) [17] Z. Liao, W. Zhou, H. Li, Dafir: Distortion-aware representation learning for fisheye image rectification, IEEE Transactions on Circuits and Systems for Video Technology 34 (5) (2024) 3606–3618. [doi:10.1109/TCSVT.2023.3315967.](https://doi.org/10.1109/TCSVT.2023.3315967) [18] K. Liao, C. Lin, Y. Zhao, M. Gabbouj, Dr-gan: Automatic radial distor tion rectification using conditional gan in real-time, IEEE Transactions on Circuits and Systems for Video Technology 30 (3) (2020) 725–733. ber, P. O’Donovan, P. McBean, L. Jones, J. Ciston, M. C. Scott, C. Ophus, [Prismatic 2.0 - simulation software for scanning and high resolution transmission ele](https://www.sciencedirect.com/science/article/pii/S0968432821001323) [Micron 151 (2021) 103141. doi:https://doi.org/10.1016/j.micron.2021.1](https://doi.org/https://doi.org/10.1016/j.micron.2021.103141) [URL https://www.sciencedirect.com/science/article/pii/S096843282](https://www.sciencedirect.com/science/article/pii/S0968432821001323) [35] J. M. Rodenburg, A. Maiden, Springer Handbook of Microscopy, 1st Edition, Springer Handbooks, Springer International Publishing, Cham, 2019. [36] [Z. Chen, D. A. Muller, A. M. Blackburn, Ptychoshelves](https://github.com/ArthurBlackburn/ps-shelves-test01) (2025). [URL https://github.com/ArthurBlackburn/ps-shelves-test01](https://github.com/ArthurBlackburn/ps-shelves-test01)

섹션 본문

섹션 본문이 없습니다.

참고문헌 23건

  1. Single particle electron cryomicroscopy: trends, issues and future perspective Quarterly Reviews of Biophysics · Cambridge University Press · 2016 10.1017/s0033583516000068
  2. In Situ TEM Investigation of Electron Irradiation Induced Metastable States in Lithium-Ion Battery Cathodes: Li<sub>2</sub>FeSiO<sub>4</sub> versus LiFePO<sub>4</sub> ACS Applied Energy Materials · American Chemical Society · 2018 10.1021/acsaem.8b00391
  3. The impact of STEM aberration correction on materials science Ultramicroscopy · Elsevier BV · 2017 10.1016/j.ultramic.2017.03.020
  4. Cryo-electron microscopy for structural analysis of dynamic biological macromolecules Biochimica et Biophysica Acta (BBA) - General Subjects · Elsevier BV · 2017 10.1016/j.bbagen.2017.07.020
  5. Chromatic Aberration Correction for Atomic Resolution TEM Imaging from 20 to 80 kV Physical Review Letters · American Physical Society · 2016 10.1103/physrevlett.117.076101
  6. Ptychographic electron microscopy using high-angle dark-field scattering for sub-nanometre resolution imaging Nature Communications · Nature Portfolio · 2012 10.1038/ncomms1733
  7. Super-resolution electron ptychography of low dimensional materials at 30 keV: Beyond the detector limit Applied Physics Letters · American Institute of Physics · 2023 10.1063/5.0143684
  8. Sub-ångström resolution ptychography in a scanning electron microscope at 20 keV Nature Communications · Nature Portfolio · 2025 10.1038/s41467-025-64133-3
  9. Strain Measurement in Semiconductor Heterostructures by Scanning Transmission Electron Microscopy Microscopy and Microanalysis · Oxford University Press · 2012 10.1017/s1431927612001274
  10. Influence of distortions of recorded diffraction patterns on strain analysis by nano-beam electron diffraction Ultramicroscopy · Elsevier BV · 2018 10.1016/j.ultramic.2018.09.010
  11. Model-Aware Pre-Training for Radial Distortion Rectification IEEE Transactions on Image Processing · Institute of Electrical and Electronics Engineers · 2023 10.1109/tip.2023.3321459
  12. DaFIR: Distortion-Aware Representation Learning for Fisheye Image Rectification IEEE Transactions on Circuits and Systems for Video Technology · Institute of Electrical and Electronics Engineers · 2023 10.1109/tcsvt.2023.3315967
  13. DR-GAN: Automatic Radial Distortion Rectification Using Conditional GAN in Real-Time IEEE Transactions on Circuits and Systems for Video Technology · Institute of Electrical and Electronics Engineers · 2019 10.1109/tcsvt.2019.2897984
  14. An efficient deep learning-based framework for image distortion correction The Visual Computer · Springer Science+Business Media · 2024 10.1007/s00371-024-03580-3
  15. Stabilization of a tungsten ⟨310⟩ cold field emitter Journal of Vacuum Science & Technology B Nanotechnology and Microelectronics Materials Processing Measurement and Phenomena · American Vacuum Society · 2010 10.1116/1.3488988
  16. The EIGER detector for low-energy electron microscopy and photoemission electron microscopy Journal of Synchrotron Radiation · Wiley · 2017 10.1107/s1600577517009109
  17. Accurate lattice parameters from 3D electron diffraction data. I. Optical distortions IUCrJ · International Union of Crystallography · 2022 10.1107/s2052252522007904
  18. Training artificial neural networks for precision orientation and strain mapping using 4D electron diffraction datasets Ultramicroscopy · Elsevier BV · 2021 10.1016/j.ultramic.2021.113256
  19. Disentangling multiple scattering with deep learning: application to strain mapping from electron diffraction patterns npj Computational Materials · Nature Portfolio · 2022 10.1038/s41524-022-00939-9
  20. Prismatic 2.0 – Simulation software for scanning and high resolution transmission electron microscopy (STEM and HRTEM) Micron · Elsevier BV · 2021 10.1016/j.micron.2021.103141
  21. Electron ptychography achieves atomic-resolution limits set by lattice vibrations Science · American Association for the Advancement of Science · 2021 10.1126/science.abg2533
  22. High-Resolution Scanning X-ray Diffraction Microscopy Science · American Association for the Advancement of Science · 2008 10.1126/science.1158573
  23. <i>PtychoShelves</i>, a versatile high-level framework for high-performance analysis of ptychographic data Journal of Applied Crystallography · Wiley · 2020 10.1107/s1600576720001776