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

Free, flexible and fast: Orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the Python-based open source 4D-STEM analysis toolbox Pyxem

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(21) 에폭시수지

기본 정보

저자
  1. Niels Cautaerts — Max-Planck-Institut für Eisenforschung GmbH, Max-Planck-Straße 1, 40237, Düsseldorf, Germany
  2. Phillip Crout — Department of Materials Science & Metallurgy, University of Cambridge, 27 Charles Babbage Road, Cambridge, United Kingdom
  3. Håkon Wiik Ånes — Department of Materials Science and Engineering, NTNU, Alfred Getz vei 2, N-7491, Trondheim, Norway
  4. Éric Prestat — Department of Materials, University of Manchester, The Mill E2, M13 9PL, Manchester, United Kingdom
  5. Jiwon Jeong — Max-Planck-Institut für Eisenforschung GmbH, Max-Planck-Straße 1, 40237, Düsseldorf, Germany
  6. Gerhard Dehm — Max-Planck-Institut für Eisenforschung GmbH, Max-Planck-Straße 1, 40237, Düsseldorf, Germany
  7. Christian H. Liebscher — Max-Planck-Institut für Eisenforschung GmbH, Max-Planck-Straße 1, 40237, Düsseldorf, Germany. Electronic address: c.liebscher@mpie.de|||Max-Planck-Institut für Eisenforschung GmbH, Max-Planck-Straße 1, 40237, Düsseldorf, Germany
DOI
10.1016/j.ultramic.2022.113517
저널
Ultramicroscopy
발행년도
2022
발행기관
Elsevier BV
피인용수
46
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.ultramic.2022.113517
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W3213758824

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(10) 아라미드, (21) 에폭시수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
4D-STEM, orientation mapping, template matching, nanocrystalline materials, electron microscopy
판단 근거
이 논문은 4D-STEM 기술을 이용한 결정 방위 매핑(orientation mapping) 분석 소프트웨어(Pyxem)에 관한 연구입니다. 직접적인 제품 연구는 아니나, 고분자 컴파운드(23)나 아라미드(10), 에폭시(21) 등 결정성 소재의 미세 구조 및 결정 배향을 분석하는 고도화된 분석 기법으로 활용 가능합니다.
R&D 활용 포인트
고기능성 컴파운드 및 고분자 섬유의 결정 구조, 결정립(grain) 배향 및 미세 조직 분석을 위한 고속/자동화된 분석 워크플로우 구축에 활용 가능합니다.
평가 입력
본문 47,623자 중 30,032자 발췌

초록

This work presents the new template matching capabilities implemented in Pyxem, an open source Python library for analyzing four-dimensional scanning transmission electron microscopy (4D-STEM) data. Template matching is a brute force approach for deriving local crystal orientations. It works by comparing a library of simulated diffraction patterns to experimental patterns collected with nano-beam and precession electron diffraction (NBED and PED). This is a computationally demanding task, therefore the implementation combines efficiency and scalability by utilizing multiple CPU cores or a graphical processing unit (GPU). The code is built on top of the scientific Python ecosystem, and is designed to support custom and reproducible workflows that combine the image processing, template library generation, indexation and visualization all in one environment. The tools are agnostic to file size and format, which is significant in light of the increased adoption of pixelated detectors from different manufacturers. This paper details the implementation and validation of the method. The method is illustrated by calculating orientation maps of nanocrystalline materials and precipitates embedded in a crystalline matrix. The combination of speed and flexibility opens the door for automated parameter studies and real-time on-line orientation mapping inside the TEM.

본문 47,623자

본문 펼치기
## Free, flexible and fast: orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the python-based open source 4D-STEM analysis toolbox Pyxem Niels Cautaerts <sup>a</sup>, Phillip Crout <sup>b</sup>, Håkon Wiik Ånes <sup>c</sup>, Eric Prestat <sup>d</sup>, Jiwon Jeong <sup>a</sup>, Gerhard Dehm <sup>a</sup>, Christian H. Liebscher <sup>a</sup> _aMax-Planck-Institut_ _für_ _Eisenforschung_ _GmbH,_ _Max-Planck-Straße_ _1,_ _40237,_ _Düsseldorf,_ _Germany_ _bDepartment_ _of_ _Materials_ _Science_ _&_ _Metallurgy,_ _University_ _of_ _Cambridge,_ _27_ _Charles_ _Babbage_ _Road,_ _Cambridge,_ _United_ _Kingdom_ _cDepartment_ _of_ _Materials_ _Science_ _and_ _Engineering,_ _NTNU,_ _Alfred_ _Getz_ _vei_ _2,_ _N-7491,Trondheim,_ _Norway_ _dDepartment_ _of_ _Materials,_ _University_ _of_ _Manchester,_ _The_ _Mill_ _E2,_ _M13_ _9PL,_ _Manchester,_ _United_ _Kingdom_ Abstract This work presents the new template matching capabilities implemented in Pyxem, an open source Python library for analyzing four-dimensional scanning transmission electron microscopy (4D-STEM) data. Template matching is a brute force approach for deriving local crystal orientations. It works by comparing a library of simulated diffraction patterns to experimental patterns collected with nano-beam and precession electron diffraction (NBED and PED). This is a computationally demanding task, therefore the implementation combines efficiency and scalability by utilizing multiple CPU cores or a graphical processing unit (GPU). The code is built on top of the scientific python ecosystem, and is designed to support custom and reproducible workflows that combine the image processing, template library generation, indexation and visualisation all in one environment. The tools are agnostic to file size and format, which is significant in light of the increased adoption of pixelated detectors from different manufacturers. This paper details the implementation, validation, and benchmarking results of the method. The method is illustrated by calculating orientation maps of nanocrystalline materials and precipitates embedded in a crystalline matrix. The combination _Preprint_ _submitted_ _to_ _Ultramicroscopy_ _November_ _16,_ _2021_ of speed and flexibility opens the door for automated parameter studies and real-time on-line orientation mapping inside the TEM. _Keywords:_ Precession electron diffraction, orientation mapping, scanning/transmission electron microscopy, open source, GPU acceleration, template matching 1. Introduction Scanning nanobeam electron diffraction (NBED) and precession electron diffraction (PED) have been applied for over two decades inside transmission electron microscopes (TEM) for orientation mapping in nano-crystalline materials [1, 2]. These methods rely on scanning an electron probe with a small convergence angle on the order of 1 mrad across an electron transparent sample while capturing a nanobeam diffraction pattern image at each scan point. A common approach to extracting orientations from the diffraction patterns is to use template matching, whereby the pattern is compared to a large library of pre-computed templates of simulated diffraction patterns [1, 2]. For sufficiently thin samples and a well aligned electron probe a spatial resolution of around 1 nm can be achieved [3]. However, the angular resolution of the technique tends to be limited to about 1 <sup>_◦_</sup> [4]. These limitations notwithstanding, the technique enjoys widespread use as a fast and convenient method for nano-scale orientation mapping and has been extensively utilized to determine grain orientations in nanocrystalline materials [5, 6, 7] even combined with in-situ straining [8]. Recently interest in the field of 4-dimensional scanning transmission electron microscopy (4D-STEM) has been reignited thanks to the emergence of fast and direct electron detectors [9]. With direct electron detectors, high quality diffraction patterns can be collected in a fraction of the time compared to the camera systems that are currently most used. Additionally, as some of the authors on this manuscript have shown, NBED orientation mapping can also benefit from the improved signal-to-noise characteristics of pixelated detectors [10, 3]. Improved detector technology results in datasets that are larger and more complex, requiring customizable analysis frameworks. As the complexity of the analysis pipelines increases it becomes increasingly important for them to be traceable and reproducible. For these reasons, a fast, scaleable, and flexible template matching workflow was implemented in the open source Pyxem library. The implementation 2 makes use of the just-in-time (JIT) Numba compiler [11] for compiling performance critical parts of the code, Dask [12] for parallelizing the workload, and CuPy [13] for performing the calculations on the GPU. Pyxem is a free and open source Python library that offers a large number of 4D-STEM data analysis routines [14]. It builds on the open source HyperSpy library [15] for microscopy data analysis. HyperSpy includes a large number of file readers, making workflows in Pyxem file format agnostic. With Pyxem and HyperSpy, analysis pipelines are built up with a minimal amount of python code in Jupyter notebooks [16] or scripts; these are transparant and can be made completely reproducible. As the entire code base is written with Python syntax, development times are rapid and the code can be easily contributed to by non-professional programmers like scientists in the field. This paper discusses the implementation details of the new template matching algorithm, demonstrates its performance, compares the results to those obtained with a commercial solution, and illustrates with case studies. 2. The algorithm and implementation _2.1._ _Simulation_ _of_ _diffraction_ _pattern_ _templates_ _using_ _diffsims_ Indexation of orientations via template matching relies on a library of pre-computed diffraction pattern templates. The library is calculated with diffsims, a Pyxem sub-library [17]. Each template is stored as a list of Bragg reflections with reciprocal space coordinates ( _kx, ky_ ) _i_ and associated intensities _Ii_ . The template library consists of a list of crystal orientations that each have an associated template. Sampling all of orientation space ( _SO_ (3)) at small increments requires a very large template library, but the size can be drastically reduced by observing that many orientations produce templates related by a rotation in the imaging plane. If orientations are represented by Euler angles ( _φ_ 1 _,_ Φ _, φ_ 2) according to the Bunge convention [18], then all templates that share the same Φ and _φ_ 2 are related by in-plane rotation. Therefore, the list of orientations making up the library must only sample (Φ, _φ_ 2) or equivalently the surface of the unit sphere ( _S_ <sup>2</sup> ); the in plane angle _φ_ 1 is set to zero for all the templates and is found during the indexation process. The list of orientations is further reduced by crystal symmetry to a subsection of _S_ <sup>2</sup> representing unique beam directions; all Laue groups are supported in the software. The first step in creating a template library is to form a list of candidate orientations represented by points on the unit sphere surface. Different sam 3 pling schemes were implemented in diffsims as shown in Figure 1(a); for the rest of this paper the _Spherified_ _cube_ _2_ sampling is used. When the sampling density is sufficiently high, i.e. when the sampling interval is smaller than the precision of the method, the type of sampling does not have a big influence on the results. In the second step, a kinematical diffraction pattern is simulated for each orientation on the grid. A reciprocal space grid within a limiting radius is constructed, rotated by (0 _,_ Φ _, φ_ 2), and the distance of each grid point to the surface of the Ewald sphere is calculated. This geometric excitation error is used in a shape factor function, representing the relrods centered on the diffraction spots, to determine the spot intensity. Multiple shape factor functions are implemented and the user can provide custom functions if desired. The reflection intensities are determined by the structure factor _F_ through the well known relation _I_ = _FF_ <sup>_∗_</sup> ; finally _I_ is multiplied by the shape factor to obtain the spot intensity. Structure factors are calculated using a user supplied crystal structure and atomic scattering factors calculated from parametrizations described in literature [19, 20]. An alternative approach is to set atomic scattering factors to 1, which may be preferred for template matching [21] since it increases the weight of faint distant reflections in calculating the best matching template. The final step to obtaining the 2D diffraction pattern consists of projecting the spots close to the Ewald sphere onto the _kx −_ _ky_ plane and discarding the rest. This process is illustrated in Figure 1(b), where the large yellow surface represents part of the Ewald sphere and the points represent the reciprocal space grid of face centered cubic (FCC) Fe (serving as a simple prototype for austenitic steel). Points far away from the Ewald sphere are not excited and are represented with small blue spheres, whereas reflections that are close by and intense are represented as large spheres going from green, to yellow, to red. The resulting projected pattern is shown in Figure 1(c); the size and color of the reflections serve to represent their intensity. The method in diffsims can also be used to simulate beam precession, by adopting the formalisms described in [22]. _2.2._ _Indexation_ _workflow_ Each image in the 4D-STEM dataset must be compared to each template in the library. Simultaneously, the in-plane angle _φ_ 1 that produces the best match between image and template must be found. Following the method described in reference [23], the measure of best fit is taken to be the correlation 4 Figure 1: Illustration of the template library procedure in diffsims. a) Various orientation grids for the cubic crystal structure generated with different meshing algorithms. The orientation is represented by the beam directions plot in the stereographic projection. b) The reciprocal space grid of FCC Fe rotated to Φ = 15 <sup>_◦_</sup> and _φ_ 2 = 5 <sup>_◦_</sup> . The Ewald sphere is represented by the yellow surface. Spots closer to the surface are more intense, represented with being larger and more intense colors. c) The projected diffraction pattern with indexed spots. Spots below a minimum intensity threshold were filtered out. index as described by equation 1: <u>�</u> _Q_ = <u>�</u> _<u>i</u>_ <sup>_<u>P</u>_</sup> <sup><u>(</u></sup> <sup>_<u>xi, yi</u>_</sup> <sup><u>)</u></sup> <sup>_<u>T</u>_</sup> <sup><u>(</u></sup> <sup>_<u>xi, yi</u>_</sup> <sup><u>)</u></sup> ~~<u>�</u>~~ <u>�</u> _i_ <sup>_P_</sup> <sup>(</sup> <sup>_xi, yi_</sup> <sup>)2</sup> <sup>~~<u>�</u>~~</sup> <sup><u>�</u></sup> _i_ <sup>_T_</sup> <sup>(</sup> <sup>_x_</sup> _i_ <sup>_P_</sup> <sup>(</sup> <sup>_xi, yi_</sup> <sup>)2</sup> <sup>~~<u>�</u>~~</sup> <sup><u>�</u></sup> _i_ <sup>_T_</sup> <sup>(</sup> <sup>_xi, yi_</sup> <sup>)2</sup> <sup>_,_</sup> (1) where _P_ ( _x, y_ ) represent coordinates in the image and _T_ ( _x, y_ ) coordinates in the template for all pixels _i_ . In practice, the template is very sparse and only non-zero at coordinates corresponding to diffraction spots, so the sum in the numerator is reduced to a sum over all the template diffraction spots. The denominator serves the purpose of optionally normalizing _P_ and _T_ ; these values can be pre-computed and applied to images and templates before indexation, thereby reducing the equation for _Q_ to a dot product. During the preparation of this manuscript alternative quality metrics such as Pearson’s correlation coefficient were considered. This was motivated by perceived limitations of _Q_, including the fact that weak high-index reflections, which may be more sensitive to small changes in orientation than strong low-index reflections, don’t substantially contribute to the dot product. In addition, erroneous reflections in the template that do not match with a reflection in the image are not penalized, because in calculating _Q_ their intensity is multiplied by the background intensity that is close to zero. However, alternative quality metrics did not noticeably improve the reliability of the indexation result compared to when _Q_ was used, but they were significantly more computationally expensive. In practice, carefully tailored 5 image processing combined with _Q_ produced the best results. Processing steps included applying a gamma correction, which raised all pixel values to a power _<_ 1, to the experimental diffraction patterns overcomes the first limitation by increasing the relative intensity of weak reflections. Subtracting a constant from all the pixels in the image helps to overcome the second limitation of _Q_, as erroneous positive reflections in the template are multiplied by a negative value from the background, thereby penalizing _Q_ . Different approaches can be used to optimize the in-plane rotation angle _φ_ 1 when comparing a template to an image. Currently Pyxem implements a direct approach which is illustrated in Figure 2 (a)-(e). The image (a) and template (b) are both converted to polar coordinates, (c) and (d) respectively. This is computationally efficient. However, it is important that the center of the direct beam is used as the origin for the transformation. The optimal _φ_ 1 is found by sliding the template across the image, with wraparound, along the azimuthal axis _φ_ and calculating _Q_ at each shifted position as shown in Figure 2 (e). The diffraction spot coordinates of the templates ( _ri, φ_ <sup>_′_</sup> _i_ <sup>)</sup> <sup>are</sup> Figure 2 (e). The diffraction spot coordinates of the templates ( _ri, φ_ <sup>_′_</sup> _i_ <sup>)</sup> <sup>are</sup> rounded to the nearest integer so that they correspond directly to coordinates of pixels _P_ <sup>_′_</sup> ( _ri, φ_ <sup>_′_</sup> _i_ <sup>)</sup> <sup>that</sup> <sup>are</sup> <sup>used</sup> <sup>to</sup> <sup>evaluate</sup> <sup>equation</sup> <sup>1.</sup> <sup>The</sup> <sup>step</sup> <sup>size</sup> <sup>in</sup> <sup>_φ_</sup> <sup>,</sup> of pixels _P_ <sup>_′_</sup> ( _ri, φ_ <sup>_′_</sup> _i_ <sup>)</sup> <sup>that</sup> <sup>are</sup> <sup>used</sup> <sup>to</sup> <sup>evaluate</sup> <sup>equation</sup> <sup>1.</sup> <sup>The</sup> <sup>step</sup> <sup>size</sup> <sup>in</sup> <sup>_φ_</sup> <sup>,</sup> and thus the resolution of the in-plane angle, is determined by the angular sampling used during the polar transform. It corresponds to 360 <sup>_◦_</sup> divided by the number of pixel columns in the polar image. In the example of Figure 2 (c), the polar image is 360 pixels wide so ∆ _φ_ 1 = 1 <sup>_◦_</sup> . The maximum correlation index and the angle at which it is achieved are stored, and the process is repeated for all templates in the library. The best correlation index for each template can be plotted on the stereographic projection as shown in Figure 2 (f). Note that the region in the stereographic projection is twice as large as the original stereographic projection representing the templates, since mirror images of all templates also represent unique orientations and must be considered. Mirrored templates are generated by reflecting spots across the _y_ = 0 plane. The experimental pattern is then indexed by selecting the template and corresponding in-plane angle with the highest correlation index as shown in Figure 2 (f) and (g). Alternatively, at the cost of some additional computation, the list of correlations can be sorted and the top _N_ best matching templates can be queried instead of only the best one. The time complexity of the direct approach to match one template to one image is _O_ ( _sφ_ ) with _s_ the number of reflections in the template and _φ_ the width of the polar image. If _s_ becomes very large and the template approaches a dense image, i.e. _s ≈_ _rφ_ with _r_ the height of the polar image, then 6 Figure 2: Illustration of the indexation procedure. (a) A diffraction pattern and (b) a template are converted to polar coordinates as shown in (c) and (d) respectively. (e) The template is shifted across the polar image and the correlation index _Q_ is calculated at each position. The process is repeated for all templates and the mirror images of each template and the maximum correlation index and the angle at which it occurs is recorded for each. (f) The best correlation index for each template is mapped to each orientation and plot on the stereographic projection. Better matching templates are brighter, and the template with the highest correlation is taken to be the solution. The minimum and maximum correlation values are indicated on the color bar; precise values of _Q_ are arbitrary and depend on image preprocessing and simulation parameters. (g) The reflections in the best matching template is represented with red circles on top of the experimental pattern. the complexity becomes _O_ ( _rφ_ <sup>2</sup> ). In this case a fast Fourier transform (FFT) based cross-correlation method with time complexity _O_ ( _rφ_ log _φ_ ) may be preferred [24]. This method no longer depends on the number of diffraction spots in a template, but benchmarks showed that a few hundred diffraction spots per template are necessary before the cross-correlation approach outperforms the direct approach. While the direct approach implementation is reasonably fast, it may still take a few hours to index a dataset of a few gigabytes in size on a common laptop with a limited number of CPU cores. Therefore, an option was added to pre-filter the template library as described in ref. [25]. In this method, 7 the image and templates are integrated over the azimuthal direction, and the correlation between the integrated image and the integrated template library is calculated by a single matrix-vector product. Only the templates with the highest correlation values are passed onto the full indexation procedure. In this way the library for full indexation can be significantly reduced, and typically only a tenth of the templates must be preserved to arrive at the same optimum [25]. However, there is no guarantee that the optimal template will always be included in the pre-filtered set, and trials indicated that the method becomes less reliable for larger template libraries and templates containing more spots. The integrated matching procedure is illustrated in Figure 3. Figure 3: Illustration of the fast matching between integrated images and templates on the same image and template library as in figure 2. (a) The polar image with the azimuthally integrated pattern plotted on top, as well as the azimuthally integrated best-fit template. (b) The correlation index between azimuthally integrated images and templates plot on the stereographic projection. Features look comparable to the results obtained from the full matching procedure in figure 2 (f). The indexation procedure is then simply repeated for all images in the dataset. This is parallelized as much as possible using Dask [12]. Dask also makes it possible to process datasets larger than computer memory by only loading parts of the dataset from storage when they need to be processed. 8 3. Materials, methods and datasets Two datasets were collected inside a JEOL 2200FS TEM operating at 200 kV with a 4K TemCAM-XF416 pixelated CMOS detector (TVIPS). The first dataset was collected on a sample of Cu-Ag alloy described in ref. [26]. The dataset was thoroughly analyzed in ref. [3]. The microscope conditions were a beam convergence angle of around 2 mrad, a camera length of 15 cm, a precession angle of 0.3 <sup>_◦_</sup> and precession frequency of 100 Hz. Images were collected at 2k _×_ 2k pixel resolution with a dwell time of 50 ms, but were binned to 512 _×_ 512 pixels for analysis. The second dataset was collected on a sample of ion irradiated Ti-stabilized stainless steel containing nano-sized precipitates. The dataset is described in ref. [10]. The convergence angle was around 0.5 mrad and the camera length 80 cm; the beam was not precessed. For both datasets, scan points were about 2 nm apart. Data was collected in the .tvips file format and converted to the .BLO and .HSPY formats using in house tools that have been made freely available [27]. Calculations in this paper to generate figures and benchmarks were performed on a desktop computer with a 16 core AMD Ryzen 9 3950x CPU, an NVIDIA RTX 3080 GPU, and 64 GB of RAM running Arch Linux. The code was also successfully run on a MacBook Pro laptop, a Windows 10 workstation, and the TALOS GPU cluster hosted at the Max Planck Computing & Data Facility. 4. Results _4.1._ _Evaluation_ _of_ _reliability_ To verify the reliability of the implementation, the Cu-Ag dataset was indexed both in Pyxem and using the commercial ASTAR software (NanoMegas). Indexation results from ASTAR are widely accepted in the community and thus form a suitable benchmark for comparison to the Pyxem method. In both softwares, the image pre-processing and template simulation parameters were optimized iteratively such that the indexation of randomly chosen diffraction patterns looked reasonable by visual inspection. In Pyxem, the direct beam in each image was centered, the diffuse background in the images was removed using a difference-of-Gaussians procedure, and the resulting image was smoothed by Gaussian blur. Thresholding was used to set low intensity pixels to zero and gamma correction with exponent 0.5 was applied to enhance the weaker reflections. In both ASTAR and Pyxem a template library, derived from the FCC Cu structure, of around 11000 templates was 9 used corresponding to a maximum angular deviation between neighboring orientations of 0.3 <sup>_◦_</sup> . In Pyxem atomic scattering was ignored in simulating the templates and a linear shape function was used for the relrods. Indexation was performed using the "full indexation" setting in ASTAR and without pre-filtering in Pyxem. Since ASTAR requires the images to be in 8-bit format, the original 16-bit data was truncated at pixel values of 1000 (the maximum pixel value was around 4000 in the direct beam) and the range 0-1000 was scaled to the 8-bit 0-255 range. The full Pyxem analysis workflow with parameters for the preceding steps is provided in the supplementary information as a Jupyter notebook. The original data can be downloaded as a Zenodo dataset. The inverse pole figure (IPF) maps for the Z, Y and X direction are shown in Figure 4 (a), (d) and (g) for Pyxem and Figure 4 (b), (e), and (h) for ASTAR respectively. To highlight the differences between the maps, the angular deviation between the ASTAR and Pyxem results are shown in Figure 4 (c), (f), and (i). This is calculated as (2) - <sup>�</sup> ���� _,_ _θ_ = - _<u>vA · vP</u>_ _|vA||vP_ _|_ �����cos _−_ 1 with _vA_ and _vP_ the vector represented in each pixel of the ASTAR and Pyxem maps. Figure 4 (j) and (k) show the correlation index maps (equation 1) for Pyxem and ASTAR respectively. These two _Q_ maps can not be compared on a pixel by pixel basis because the simulation of templates and normalization are done differently, resulting in different linear scaling. Correspondence between the two methods is good; for most points in the grain interiors the deviation in grain orientation is less than 3 <sup>_◦_</sup> . The deviation is largest in some pixels near grain boundaries, and in locations where _Q_ is low. In these regions, there may be ambiguity in the diffraction patterns when multiple crystals contribute to the signal. Each template in the library can only represent a rotated single crystal, so ambiguous diffraction patterns can be indexed differently depending on small differences between image preprocessing parameters. In some locations in the grain interior the two maps differ substantially, as shown for one diffraction pattern in Figure 5 (a) and (b). The inset shows the location on the map where the pattern was extracted. Pixels where the maps differed substantially were associated with ambiguous diffraction 10 Figure 4: Comparison of the indexation result for Pyxem and ASTAR. (a) and (b) represent the Pyxem and ASTAR IPF-Z maps respectively with (c) the angle between the vectors in each pixel of (a) and (b). Analogous maps are plotted for IPF-Y in (d-f) and IPF-X in (g-i). (j) and (k) show the correlation index maps for Pyxem and ASTAR. Due to differences in intensity range, these maps should not be compared on a pixel-by-pixel basis; only relative intensities within the same map are meaningful. patterns containing contributions from overlapping crystals. The template identified by Pyxem accounts for most of the bright reflections but fails to capture the reflections marked with white arrows that originate from another grain. The ASTAR indexation does account for these reflections, but ASTAR misses the bright systematic row. Clearly this is a region where the green grain on the left and the orange grain on the right overlap, resulting in ambiguity. Indexing overlapping grains is possible in specific cases by using masking techniques [28] but they were not implemented for this example. Figure 5 (c) shows the correlation map on the stereographic projection as calculated by Pyxem, with the best orientations according to Pyxem and AS 11 TAR indicated. Both represent local maxima, showing that a minor change in simulation parameters or image processing conditions could change their relative height. Figure 5: Comparison of the indexation result in (a) Pyxem and (b) ASTAR for a single pattern where there is substantial disagreement. The inset in both images shows the location of the pattern on the IPF-Z map. (c) The correlation map for the pattern obtained with Pyxem, which represents the correlation of each template in the library with the image on the stereographic projection, shows that the Pyxem and ASTAR solutions are local maxima. In regions with small deviations between the ASTAR and Pyxem solutions there were no clear metrics to favor one solution over the other, suggesting that for this dataset and method the angular resolution is limited to about 3 <sup>_◦_</sup> although this might be improved by additional image processing [3]. _4.2._ _Performance_ The time to index a single pattern depends on the ∆ _φ_ 1 sampling, the number of templates in the library, the number of spots in the templates, and the available computational resources. Figure 6 shows the time it took to index a single 256 _×_ 256 pattern for different library sizes and ∆ _φ_ 1 on (a) a 16 core CPU and (b) an NVIDIA RTX 3080 GPU in a desktop computer. Each point represents the mean of 10 independent measurements, the error bar represents _±_ the standard deviation. The CPU timing includes the time to convert the image to polar coordinates, to filter the original template library of about 11000 templates down to the desired number of templates, and to find the best in-plane rotation for the remaining templates. The GPU 12 timing also includes the time to transfer the image to the GPU and to send the result back. To a good approximation, the computational time increases linearly with the number of templates in the library and with 1 _/_ ∆ _φ_ 1. On both the CPU and GPU, the y-intercept of the lines is close to zero, showing that the template matching step, including the in-plane angle optimization, dominates the computational time for most conditions. Figure 6 (c) shows the ratio of the CPU time and the GPU time. On this system, the GPU was about 10-15 times faster than the CPU for most conditions. Experiments on a dual core Macbook laptop and a TALOS cluster node with 40 cores showed that speed scales roughly linearly with number of cores; therefore, a lot of CPU cores are necessary before the performance of a mid-range GPU is matched. The relative benefit of the GPU decreases with smaller template libraries and larger increments of ∆ _φ_ 1, since the relative time cost of data transfers to and from the GPU increases. The acceleration of the polar transformation and library filter steps still make the GPU outperform the CPU. The time necessary to index an entire dataset can be roughly extrapolated from Figure 6 by multiplying by the number of patterns. For example, indexing the entire dataset from Figure 4 with 11000 templates and without template pre-filtering took around 3 minutes on the GPU (20 ms per pattern) and about 16 minutes on the CPU (110 ms per pattern). The time the process takes on the GPU is a factor 2 slower than expected, which can be attributed to the fact that the image pre-processing is also included in the timing and these steps are performed on the CPU. Some benchmarking results from the Macbook and from the Talos cluster are given in the supplementary materials. _4.3._ _Custom_ _indexation_ _procedures_ Thanks to the flexibility of Pyxem, customized workflows can easily be constructed. This section illustrates a two-stage indexing procedure for identifying orientations of overlapping phases, specifically for the case of nanosized precipitates embedded in a crystalline matrix. Since the reflections of the matrix phase always dominate over the signal of the precipitates, a reliable indexation of the precipitates requires a subtraction of the matrix signal from the images. Strategies to achieve this are described in refs. [28, 23] and the tools were successfully applied to reveal orientations of nanoprecipitates in irradiated steel [29]. The technique consists of three stages: first 13 Figure 6: Time to index a single diffraction pattern image of size 256 _×_ 256 for various angular increments and library sizes, (a) timed on a 16 core CPU and (b) timed on a RTX 3080 GPU. Note the differences in the y-axis scales. (c) The ratio of CPU time over GPU time shows the substantial advantage of the GPU. the matrix is indexed, then the dominant matrix contribution in the experimental patterns is masked, and finally the precipitate fraction is indexed on the masked dataset. This is illustrated for one pattern in the irradiated steel dataset from ref. [29] in Figure 7 (a), (b) and (c). The tools that were used to analyze this data in ref. [29] are proprietary, and as of yet not widely accessible. Here, a similar, fully reproducible workflow was constructed using Pyxem to analyze the same dataset. The complete data processing pipeline is provided in a Jupyter notebook in the supplementary materials. As with the Cu-Ag dataset, the patterns were centered and background-subtracted. Subsequently an affine transformation was applied to the images to correct for 14 Figure 7: Illustration of the two-stage indexation procedure. The dataset is first indexed with the matrix phase as shown in (a). (b) A mask is created to index the templates by averaging all the images and thresholding. (c) The masked dataset is indexed using the template library from the precipitates. (d), (e), and (f) show the IPF-Z maps obtained from indexing the matrix phase with Pyxem, ASTAR, and the angular deviation between them, respectively. (g) (h) and (i) show analogous maps for the precipitates (low correlation index pixels were set to black). (j) and (k) are the Pyxem and ASTAR correlation index maps for the precipitate indexation. projector astigmatism. The elements of the affine transformation matrix were 15 iteratively optimized based on best fit templates of individual patterns. The patterns were subsequently indexed using a library of about 1000 templates (maximum deviation of 1 <sup>_◦_</sup> between templates) from FCC Fe. The result of the indexation is shown in Figure 7 (d) as an IPF-Z map, showing that the data was collected in a single grain close to a _⟨_ 110 _⟩_ zone. Figure 7 (e) and (f) show the result from ref. [29] and its angular deviation from the Pyxem result respectively. Deviations up to about 4 <sup>_◦_</sup> can be observed. To remove the intense matrix reflections, a mask was created by calculating the average of all the diffraction patterns and thresholding the resulting image. A number of erosion and dilation operations were performed to remove small noise-like features in the mask, and to ensure the removal of tails from intense diffraction peaks. The final mask that was applied to the images is shown in Figure 7 (b). The masked dataset was subsequently indexed using a library of about 4000 templates (maximum deviation of 0.5 <sup>_◦_</sup> between templates) from Mn6Ni16Si7 phase (G-phase). Due to the larger lattice parameter of the G-phase compared to the matrix phase (austenite), templates contain many more reflections and small changes in orientation can drastically change the patterns. For this reason, a larger template library was simulated using smaller orientation increments. Additionally, a very small relrod width was chosen, such that only the reflections very close to the Ewald sphere would be included. The parameters of the indexation procedure were optimized iteratively on individual patterns containing signal from the precipitates. This process showed the necessity of introducing two somewhat counter-intuitive processing steps: firstly, the intensity of all diffraction spots in the template library were set to unity (ignoring both the structure factor and relrod shape factor), and secondly a small constant (about 10% of the maximum pixel intensity) was subtracted from all pixels in the experimental images. Without these steps many patterns were erroneously indexed, because intense reflections in the template dominated in the evaluation of _Q_ . After the gamma correction and the masking, the relative intensities of the weak spots in the experimental images were no longer relevant to determining the orientation. Instead, the best indexation represents the template with the highest number reflections matching spots in the image and the fewest reflections not matching any spots. By setting all intensities in the template to unity, each reflection has equal weight in the calculation of _Q_, and by subtracting a small value from each pixel in the image, the reflections of the template that do not match a spot provide a negative contribution to _Q_ . 16 To index the G-phase these steps are acceptable, since higher order Laue zones and the curvature of the Ewald sphere are visible in most diffraction patterns (see Figure 7 (b)). These features are very sensitive to small changes in orientation. Figure 7 (g) shows the indexed result from the masked dataset as an IPF-Z map; pixels with low correlation index were set to black to reveal the precipitates. The correlation index map is shown in Figure 7 (j). The orientation and correlation maps from ref. [29] are shown in Figure 7 (h) and Figure 7 (k) respectively. The angular deviation between the Pyxem and proprietary solutions is given in Figure 7 (i). Within the particles, deviation between the solutions is less than 1 <sup>_◦_</sup>, outside the particles the indexation is arbitrary since there is only noise in these patterns. Because the indexation only relies on the presence of spots and not their intensity, and because all templates in the library are very different from each other due to the small relrod width, the orientation of the precipitates is determined with very high precision. In the template library of the matrix phase, many templates are very similar and only differ in spot intensity, which results in a lower precision in the indexation. A smaller camera length, such that spots from higher order Laue zones would also be captured in the image, may improve the indexing precision of the matrix. Alternative approaches to indexing the dataset were also attempted. For example, instead of using a single mask, the best matching template from each pattern in the first indexation step can be converted to a mask by placing circles at the coordinates of each reflection. For this particular dataset this proved to be an inferior strategy because there were features in the diffraction pattern that did not correspond to either of the phases, instead originating from defects or surface contamination and oxidation. These features were not masked with the template mask approach and subsequently interfered with the indexation of the precipitates. However, this type of approach may be necessary for datasets of polycrystalline materials containing multiple phases, since the required mask is different in every grain. Finally, it may also be possible to separate contributions from different phases in the diffraction patterns using unsupervised learning techniques, such as principal component analysis (PCA) and non-negative matrix factorization (NMF) [30]. These techniques are also implemented in Pyxem and may serve as a helpful preprocessing step before template matching. 17 5. Discussion This paper demonstrated the template matching capabilities in Pyxem for extracting orientation information from NBED and PED datasets. Two datasets were provided as examples, illustrating the speed and extensibility of the solution. Accuracy was benchmarked against commercial solutions; deviations between the solutions could be attributed to ambiguity in the diffraction patterns from overlapping crystals or limited differentiability among templates in the library. Under these circumstances, small differences in image pre-processing or library simulation conditions could have an outsized effect on the best matching template for ambiguous patterns. With the integrated workflow offered by Pyxem, it is relatively easy to investigate the effect of these pre-processing parameters and their relative importance to the result. From this analysis, the maximum precision of the indexation result can be estimated. While 1 <sup>_◦_</sup> is the often quoted maximum precision of NBED/PED orientation mapping [4, 31], as was shown in this paper the precision can vary strongly depending on experimental parameters such as camera length, local orientation and lattice parameters of the phases involved. In general, if the differentiation between neighboring templates relies primarily on differences in spot intensity the uncertainty could be as high as _±_ 5 <sup>_◦_</sup> ; the presence of reflections from higher order Laue zones strongly improves indexing reliability. Other advantages offered by Pyxem are that all file formats supported by HyperSpy can be analyzed. Data can be preprocessed using any of the tools in the scientific python ecosystem and integrated into a fully reproducible analysis pipeline. Template libraries can be generated in the same environment and freely modified using the diffsims library, and large datasets can be indexed with large template libraries in a short amount of time thanks to GPU support. Workflow flexibility, openness, speed, and reproducibility are becoming increasingly important in light of the growing popularity of fast pixelated detectors which are producing ever more complex datasets. The open source nature of the code means that it can be freely adapted and extended, for example towards real-time indexing. A single diffraction pattern can be reliably indexed within a few to tens of milliseconds, which is on the same order as the acquisition time for a pattern on a CMOS or CCD based detector. Hence these processes could easily run in parallel meaning that routine orientation mapping of single phase materials with NBED could become automated like electron backscatter diffraction (EBSD) in the scan 18 ning electron microscope. A prototype along these lines is being worked out by integrating with the LiberTEM library [32, 33]. For the extremely fast direct electron detectors, such as the EMPAD detector, the code would not be fast enough to perform real time indexing. Multiple optimizations could still be explored, like improving the algorithm for optimizing the in-plane angle _φ_ 1 and parallelizing the image preprocessing steps. 6. Conclusion In this paper, the new template matching capabilities implemented in Pyxem for analyzing NBED and precession diffraction data were discussed, from implementation, through performance, to applications. The code enabled reliable and fast orientation mapping in nanostructured materials on high quality datasets originating from a pixilated detector. Through the fine grained control over the entire analysis process the effects of image processing and template simulation parameters on the result could be evaluated. In addition, a two stage indexation procedure was implemented for mapping the orientation of nano-sized precipitates embedded in a crystalline matrix, a workflow that could be adapted by many other researchers. All the workflows in this paper are fully documented and reproducible and can serve as templates for other open, custom and transparent analysis workflows. Acknowledgements We acknowledge funding through BiGmax (https://www.bigmax.mpg.de/), the Max Planck research network on big-data-driven materials science. We also want to sincerely thank all the contributors to HyperSpy and Pyxem, who have dedicated their time to building free analysis libraries that will benefit all future researchers and lay the foundation for open science in electron microscopy. In particular we wish to acknowledge the original creator of the Pyxem library D. Johnstone, who’s pioneering work this work built on. P.C. acknowledges the support of his studentship from the EPSRC. H.W.Å acknowedges NTNU for financial support through the NTNU Aluminium Product Innovation Centre. References [1] E. Rauch, M. Véron, J. Portillo, D. Bultreys, Y. Maniette, S. Nicolopou los, Microscopy and Analysis 22 (2008) S5–S8. 19 [2] E. F. Rauch, J. Portillo, S. Nicolopoulos, D. Bultreys, S. Rouvimov, P. Moeck, Zeitschrift fur Kristallographie 225 (2010) 103–109. doi: `[10.](http://dx.doi.org/10.1524/zkri.2010.1205)` `[1524/zkri.2010.1205](http://dx.doi.org/10.1524/zkri.2010.1205)` . [3] J. Jeong, N. Cautaerts, G. Dehm, C. H. Liebscher, arXiv preprint arXiv:2102.09711 (2021). [4] S. Zaefferer, Crystal Research and Technology 46 (2011) 607–628. doi: `[10.1002/crat.201100125](http://dx.doi.org/10.1002/crat.201100125)` . [5] D. Viladot, M. Véron, M. Gemmi, F. Peiró, J. Portillo, S. Estradé, J. Mendoza, N. Llorca-Isern, S. Nicolopoulos, Journal of microscopy 252 (2013) 23–34. [6] F. Mompiou, M. Legros, Scripta Materialia 99 (2015) 5–8. [7] J. Brons, G. Thompson, Jom 66 (2014) 165–170. [8] A. Kobler, A. Kashiwar, H. Hahn, C. Kübel, Ultramicroscopy 128 (2013) 68–81. [9] C. Ophus, Microscopy and Microanalysis 25 (2019) 563–582. [10] N. Cautaerts, E. F. Rauch, J. Jeong, G. Dehm, C. H. Liebscher, Scripta Materialia 201 (2021) 113930. [11] S. K. Lam, A. Pitrou, S. Seibert, in: Proceedings of the Second Work shop on the LLVM Compiler Infrastructure in HPC, pp. 1–6. [12] M. Rocklin, in: Proceedings of the 14th python in science conference, volume 126, Citeseer. [13] R. Nishino, S. H. C. Loomis, 31st conference on neural information processing systems (2017) 151. [14] D. N. Johnstone, P. Crout, M. Nord, J. Laulainen, S. Høgås, E. Opheim, B. Martineau, T. Bergh, S. Smeets, C. Francis, E. Prestat, A. Ross, S. Collins, I. Hjorth, Mohsen, D. Jannis, T. Furnival, E. Jacobsen, A. Herzing, H. W. Ånes, J. Morzy, T. Doherty, A. Iqbal, T. Ostasevicius, M. von Lany, R. Tovey, T. Poon, pyxem/pyxem: pyxem 0.12.1, 2020. URL: `[https://doi.org/10.5281/](https://doi.org/10.5281/zenodo.3976823)` `[zenodo.3976823](https://doi.org/10.5281/zenodo.3976823)` . doi: `[10.5281/zenodo.3976823](http://dx.doi.org/10.5281/zenodo.3976823)` . 20 [15] F. de la Peña, T. Ostasevicius, V. T. Fauske, P. Burdet, P. Jokubauskas, M. Nord, M. Sarahan, E. Prestat, D. N. Johnstone, J. Taillon, et al., Microscopy and Microanalysis 23 (2017) 214–215. [16] T. Kluyver, B. Ragan-Kelley, F. Pérez, B. E. Granger, M. Bussonnier, J. Frederic, K. Kelley, J. B. Hamrick, J. Grout, S. Corlay, et al., Jupyter Notebooks-a publishing format for reproducible computational workflows., volume 2016, 2016. [17] P. Crout, D. N. Johnstone, S. Høgås, B. Martineau, isabelwood100, J. Laulainen, H. W. Ånes, N. Cautaerts, S. Collins, S. Smeets, E. Jacobsen, J. Morzy, E. Prestat, phillipcrout, T. Doherty, AgBorrelli, T. Ostasevicius, R. Tovey, EirikOpheim, T. Bergh, pyxem/diffsims: diffsims 0.4.2, 2021. URL: `[https://doi.org/10.5281/zenodo.4697299](https://doi.org/10.5281/zenodo.4697299)` . doi: `[10.5281/zenodo.4697299](http://dx.doi.org/10.5281/zenodo.4697299)` . [18] H. J. Bunge, Mathematische Methoden der Texturanalyse: Mit 86 Ab bildungen und 31 Tabellen, sowie 7 Abbildungen und 9 Tabellen im Anhang, Akademie-Verlag, 1969. [19] E. J. Kirkland, Advanced computing in electron microscopy, Springer, 1998. [20] I. Lobato, D. Van Dyck, Acta Crystallographica Section A: Foundations and Advances 70 (2014) 636–649. [21] E. Rauch, L. Dupuy, Archives of Metallurgy and Materials 50 (2005) 87–99. [22] L. Palatinus, P. Brázda, M. Jelínek, J. Hrdá, G. Steciuk, M. Klementová, Acta Crystallographica Section B: Structural Science, Crystal Engineering and Materials 75 (2019) 512–522. [23] E. Rauch, M. Véron, Microscopy and Microanalysis 25 (2019) 1922– 1923. doi: `[10.1017/s1431927619010341](http://dx.doi.org/10.1017/s1431927619010341)` . [24] G. Tzimiropoulos, V. Argyriou, S. Zafeiriou, T. Stathaki, IEEE transac tions on pattern analysis and machine intelligence 32 (2010) 1899–1906. [25] G. Wu, S. Zaefferer, Ultramicroscopy 109 (2009) 1317–1325. 21 [26] T. Oellers, V. G. Arigela, C. Kirchlechner, G. Dehm, A. Ludwig, ACS combinatorial science 22 (2020) 142–149. [27] N. Cautaerts, P. Harrison, din14970/tvipsconverter: tvipsconverter v0.1.3, 2020. URL: `[https://doi.org/10.5281/zenodo.4288857](https://doi.org/10.5281/zenodo.4288857)` . doi: `[10.5281/zenodo.4288857](http://dx.doi.org/10.5281/zenodo.4288857)` . [28] A. Valery, E. F. Rauch, L. Clément, F. Lorut, Journal of Microscopy 268 (2017) 208–218. doi: `[10.1111/jmi.12599](http://dx.doi.org/10.1111/jmi.12599)` . [29] N. Cautaerts, R. Delville, E. Stergar, J. Pakarinen, M. Verwerft, Y. Yang, C. Hofer, R. Schnitzer, S. Lamm, P. Felfer, D. Schryvers, Acta Materialia 197 (2020) 184–197. doi: `[10.1016/j.actamat.2020.07.022](http://dx.doi.org/10.1016/j.actamat.2020.07.022)` . [30] B. H. Martineau, D. N. Johnstone, A. T. van Helvoort, P. A. Midgley, A. S. Eggeman, Advanced Structural and Chemical Imaging 5 (2019) 1–14. [31] A. Morawiec, E. Bouzy, H. Paul, J.-J. Fundenberger, Ultramicroscopy 136 (2014) 107–118. [32] A. Clausen, D. Weber, K. Ruzaeva, V. Migunov, A. Baburajan, A. Bahu leyan, J. Caron, R. Chandra, S. Halder, M. Nord, et al., Journal of Open Source Software 5 (2020) 2006. [33] A. Clausen, D. Weber, K. Ruzaeva, V. Migunov, A. Baburajan, A. Bahuleyan, J. Caron, R. Chandra, S. Dey, S. Halder, B. D. Levin, M. Nord, C. Ophus, S. Peter, J. Schyndel van, J. Shin, S. Sunku, K. Müller-Caspary, R. E. Dunin-Borkowski, Libertem/libertem: 0.5.1, 2020. URL: `[https://doi.org/10.5281/zenodo.3982290](https://doi.org/10.5281/zenodo.3982290)` . doi: `[10.5281/zenodo.3982290](http://dx.doi.org/10.5281/zenodo.3982290)` . 22

섹션 본문

섹션 본문이 없습니다.

참고문헌 33건

  1. Mathematische Methoden der Texturanalyse : Mit 86 Abbildungen und 31 Tabellen, sowie 7 Abbildungen und 9 Tabellen im Anhang Akademie Verlag eBooks · Akademie-Verlag · 1969
  2. Orientation and phase mapping in the transmission electron microscope using precession‐assisted diffraction spot recognition: state‐of‐the‐art results Journal of Microscopy · Wiley · 2013 10.1111/jmi.12065
  3. Combination of in situ straining and ACOM TEM: A novel method for analysis of plastic deformation of nanocrystalline metals Ultramicroscopy · Elsevier BV · 2013 10.1016/j.ultramic.2012.12.019
  4. Quantitative grain growth and rotation probed by in-situ TEM straining and orientation mapping in small grained Al thin films Scripta Materialia · Elsevier BV · 2014 10.1016/j.scriptamat.2014.11.004
  5. A critical review of orientation microscopy in SEM and TEM Crystal Research and Technology · Wiley · 2011 10.1002/crat.201100125
  6. Advanced Computing in Electron Microscopy Springer eBooks · Springer Nature · 2020 10.1007/978-3-030-33260-0
  7. Automated nanocrystal orientation and phase mapping in the transmission electron microscope on the basis of precession electron diffraction Zeitschrift für Kristallographie · De Gruyter · 2010 10.1524/zkri.2010.1205
  8. Advances in TEM orientation microscopy by combination of dark-field conical scanning and improved image matching Ultramicroscopy · Elsevier BV · 2009 10.1016/j.ultramic.2009.06.002
  9. Orientation precision of TEM-based orientation mapping techniques Ultramicroscopy · Elsevier BV · 2013 10.1016/j.ultramic.2013.08.008
  10. An accurate parameterization for scattering factors, electron densities and electrostatic potentials for neutral atoms that obey all physical constraints Acta Crystallographica Section A Foundations and Advances · 2014 10.1107/s205327331401643x
  11. Robust FFT-Based Scale-Invariant Image Registration with Image Gradients IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2010 10.1109/tpami.2010.107
  12. Orientation Mapping via Precession-Enhanced Electron Diffraction and Its Applications in Materials Science JOM · Springer Science+Business Media · 2013 10.1007/s11837-013-0799-5
  13. Numba 2015 10.1145/2833157.2833162
  14. Retrieving overlapping crystals information from TEM nano‐beam electron diffraction patterns Journal of Microscopy · Wiley · 2017 10.1111/jmi.12599
  15. Electron Microscopy (Big and Small) Data Analysis With the Open Source Software Package HyperSpy Microscopy and Microanalysis · Oxford University Press · 2017 10.1017/s1431927617001751
  16. Serial electron crystallography for structure determination and phase analysis of nanocrystalline materials Journal of Applied Crystallography · Wiley · 2018 10.1107/s1600576718009500
  17. Unsupervised machine learning applied to scanning precession electron diffraction data Advanced Structural and Chemical Imaging · Springer Science+Business Media · 2019 10.1186/s40679-019-0063-3
  18. Four-Dimensional Scanning Transmission Electron Microscopy (4D-STEM): From Scanning Nanodiffraction to Ptychography and Beyond Microscopy and Microanalysis · Oxford University Press · 2019 10.1017/s1431927619000497
  19. Specifics of the data processing of precession electron diffraction tomography data and their implementation in the program <i>PETS2.0</i> Acta Crystallographica Section B Structural Science Crystal Engineering and Materials · Wiley · 2019 10.1107/s2052520619007534
  20. Revealing Embedded Crystals through their Diffracting Signals in Transmission Electron Microscopy Microscopy and Microanalysis · Oxford University Press · 2019 10.1017/s1431927619010341
  21. Thin-Film Microtensile-Test Structures for High-Throughput Characterization of Mechanical Properties ACS Combinatorial Science · American Chemical Society · 2020 10.1021/acscombsci.9b00182
  22. LiberTEM: Software platform for scalable multidimensional data processing in transmission electron microscopy The Journal of Open Source Software · Open Journals · 2020 10.21105/joss.02006
  23. The role of Ti and TiC nanoprecipitates in radiation resistant austenitic steel: A nanoscale study Acta Materialia · Elsevier BV · 2020 10.1016/j.actamat.2020.07.022
  24. abTEM: <i>ab Initio</i> Transmission Electron Microscopy Image Simulation Microscopy and Microanalysis · Oxford University Press · 2020 10.1017/s1431927620014701
  25. Density-based clustering of crystal (mis)orientations and the <i>orix</i> Python library Journal of Applied Crystallography · Wiley · 2020 10.1107/s1600576720011103
  26. Automated crystal orientation mapping by precession electron diffraction assisted four-dimensional scanning transmission electron microscopy (4D-STEM) using a scintillator based CMOS detector arXiv (Cornell University) · Cornell University · 2021
  27. Investigation of the orientation relationship between nano-sized G-phase precipitates and austenite with scanning nano-beam electron diffraction using a pixelated detector Scripta Materialia · Elsevier BV · 2021 10.1016/j.scriptamat.2021.113930
  28. Automated Crystal Orientation Mapping by Precession Electron Diffraction-Assisted Four-Dimensional Scanning Transmission Electron Microscopy Using a Scintillator-Based CMOS Detector Microscopy and Microanalysis · Oxford University Press · 2021 10.1017/s1431927621012538
  29. pyxem/diffsims: diffsims 0.3.0 2020 10.5281/zenodo.4032778
  30. Advanced Computing in Electron Microscopy Springer eBooks · Springer Nature · 1998 10.1007/978-1-4757-4406-4
  31. Proceedings of the 13th Python in Science Conference Proceedings of the Python in Science Conferences · 2014 10.25080/majora-14bd3278-011
  32. Nanobeam electron diffraction dataset from ion irradiated DIN 1.4970 austenitic stainless steel with G-phase precipitates collected on pixelated TVIPS detector Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2021 10.5281/zenodo.5597738
  33. Precession electron diffraction dataset from nanocrystaline Cu-Ag (FCC) alloy collected on pixelated TVIPS detector Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2021 10.5281/zenodo.5595291