scieee AI-readable full text Open interactive document viewer

CDrift: An Algorithm to Correct Linear Drift From A Single High-Resolution STEM Image

Bárcena González, Guillermo; Guerrero Lebrero, María de la Paz; Guerrero Vázquez, Elisa; Yañez, Andres; Nuñez Moraleda, Bernardo Miguel; Fernández Reyes, Daniel; Real Jurado, Pedro; González, David; Galindo Riaño, Pedro Luis

Abstract

In this work, a new method to determine and correct the linear drift for any crystalline orientation in a single-column-resolved high-resolution scanning transmission electron microscopy (HR-STEM) image, which is based on angle measurements in the Fourier space, is presented. This proposal supposes a generalization and the improvement of a previous work that needs the presence of two symmetrical planes in the crystalline orientation to be applicable. Now, a mathematical derivation of the drift effect on two families of asymmetric planes in the reciprocal space is inferred. However, though it was not possible to find an analytical solution for all conditions, a simple formula was derived to calculate the drift effect that is exact for three specific rotation angles. Taking this into account, an iterative algorithm based on successive rotation/drift correction steps is devised to remove drift distortions in HR-STEM images. The procedure has been evaluated using a simulated micrograph of a monoclinic material in an orientation where all the reciprocal lattice vectors are different. The algorithm only needs four iterations to resolve a 15° drift angle in the image.

Full text

Original Article CDrift: An Algorithm to Correct Linear Drift From A Single High-Resolution STEM Image Guillermo Bárcena-González1* , María de la Paz Guerrero-Lebrero1, Elisa Guerrero1, Andres Yañez1, Bernardo Nuñez-Moraleda1, Daniel Fernández-Reyes2, Pedro Real3, David González2and Pedro L. Galindo1 1 Department of Computer Science and Engineering, University of Cádiz, Puerto Real, Cádiz, Spain; 2 Department of Material Science and Metallurgy Engineering and Inorganic Chemistry, University of Cádiz, Puerto Real, Cádiz, Spain and 3 Department of Applied Mathematics I, University of Seville, Seville, Spain Abstract In this work, a new method to determine and correct the linear drift for any crystalline orientation in a single-column-resolved high-res- olution scanning transmission electron microscopy (HR-STEM) image, which is based on angle measurements in the Fourier space, is presented. This proposal supposes a generalization and the improvement of a previous work that needs the presence of two symmetrical planes in the crystalline orientation to be applicable. Now, a mathematical derivation of the drift effect on two families of asymmetric planes in the reciprocal space is inferred. However, though it was not possible to find an analytical solution for all conditions, a simple formula was derived to calculate the drift effect that is exact for three specific rotation angles. Taking this into account, an iterative algorithm based on successive rotation/drift correction steps is devised to remove drift distortions in HR-STEM images. The procedure has been evaluated using a simulated micrograph of a monoclinic material in an orientation where all the reciprocal lattice vectors are different. The algorithm only needs four iterations to resolve a 15° drift angle in the image. Key words: drift correction, Fourier analysis, image distortion (Received 6 April 2020; revised 5 June 2020; accepted 19 June 2020) Introduction The development of the high-angle annular dark-field (HAADF) technique in scanning transmission electron microscopy (STEM) that provides incoherent imaging without a wave-phase contribution has become increasingly important, because it offers intuitive images whose intensities can be easily interpreted in terms of chemical composition. In particular, the high-resolution (HR)- HAADF imaging technique, which allows the study of crystalline structures at the atomic column scale, helps to clarify the distribution of different elements in crystalline materials (Pennycook & Jesson, 1991). Moreover, the analysis of atomic displacements in HR-HAADF images of a perfect crystal permits the recording of strain maps that reveal the stress state of the nanostructure. However, the scanning can provide incorrect images if the sample holder has a drift during acquisition. This may introduce distortions, expansions, compressions, and shears of the lattice positions that strongly affect such analyses (Nakanishi et al., 2002; Rečnik et al., 2005; Braidy et al., 2012). Despite efforts in STEM microscopes to decrease vibration, air flow/fields, and temperature fluctuations, the presence of sample drift in the captured images is sometimes unavoidable (Von Harrach, 1995; Muller & Grazul, 2001; Sang & LeBeau, 2014). For some time now, a number of authors have tried to detect and correct the drift effect in crystalline materials with several approaches, assuming that the images have uniform (Saito et al., 2009;Sang&LeBeau,2014; Bárcena-González et al., 2018)ornonconstant (Berkels et al., 2012a; Sang et al., 2017;Ningetal.,2018; Berkels & Liebscher, 2019) drift rates. Most of them use real-space solutions needing a defect-free zone of reference in the image such as Rečnik et al. (2005), Jones & Nellist (2013), and Zuo et al. (2014). Another major group focuses on the correction of drift in a series of frames from the same region, such as the works proposed by Saito et al. (2009), Berkels et al. (2012b), Binev et al. (2012), Sang & LeBeau (2014), Ophus et al. (2016), Bárcena-González et al. (2016,2017), or Berkels & Liebscher (2019). Very recently, we have proposed a simple methodology to correct the lineal drift based on angle measurements between Fourier harmonics in the reciprocal space using a single STEM image (Bárcena-González et al., 2018). However, this approximation is only applicable if the selected orientation has two sets of equivalent planes from the crystallographic point of view—two lattice vectors in the reciprocal space with the same modulus—providing quasi-exact solutions (error below 1%) for drifts lower than 5°. Although, these conditions of the methodology make it applicable for a large number of crystalline materials (cubic and hexagonal in almost all orientations) and usual values of drift (<3°), this approach was not valid for every crystalline orientation in any crystalline system or for large drifts. In this work, the original formulation using a single STEM image has been extended to be applied to any pair of reciprocal lattice vectors. First, a mathematical formulation describing how *Author for correspondence: Guillermo Bárcena-González, E-mail: guillermo.bar- [email protected] Cite this article: Bárcena-González G, Guerrero-Lebrero MP, Guerrero E, Yañez A, Nuñez-Moraleda B, Fernández-Reyes D, Real P, González D, Galindo PL (2020) CDrift: An Algorithm to Correct Linear Drift From A Single High-Resolution STEM Image. Microsc Microanal 26, 913–920. doi:10.1017/S1431927620001774 © Microscopy Society of America 2020 Microscopy and Microanalysis (2020), 26, 913–920 doi:10.1017/S1431927620001774 https://www.cambridge.org/core/terms. https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at drift and rotation affect the positions of reciprocal lattice vectors in Fourier space is presented, establishing its limits and possible errors. Next, a novel iterative algorithm for correcting drift effect, CDrift, is proposed based on the angle measurements between two reciprocal lattice vectors in Fourier space. Finally, the accuracy of this proposal has been tested in an HR-HAADF-simulated image of a material that does not have two symmetrical reciprocal lattice vectors in any orientation, such us Pu, a monoclinic material with all the reciprocal lattice vectors of unequal modulus. We will show that, even for high drift rates, the CDrift algorithm is able to detect and correct this effect providing very accurate results. Mathematical Derivation of the Linear Drift Effect Let us consider a hypothetically drift-free crystal oriented on a pole where atoms have a columnar projection. The lattice positions in the real plane may be defined by two vectors, a=(a x , a y ) and b=(b x ,b y ). The reciprocal lattice vectors associated with green and blue planes are defined by aand bas shown in Figure 1, where d a is the interplanar distance calculated as the distance from point (b x ,b y ) to the line defined by a(a y x−a x y=0), being therefore equal to da=((|axby−aybx|)/( axax−ayay √)). The reciprocal vector associated with blue planes, a*, is perpendicular to aand has a magnitude equal to 2π/d a . a∗=2 p a·da (ay,−ax)=2 p |axby−aybx|(ay,−ax).(1) The same reasoning may be applied to calculate the reciprocal vector associated with green planes, b∗=((2 p )/(|axby−aybx|)) (by,−bx), perpendicular to band with a module of 2π/d b . Now, let us state c∗ 1and c∗ 2as the difference between these vectors (see Fig. 2b). c∗ 1=a∗−b∗=2 p |axby−aybx|(ay−by,−ax+bx),(2) c∗ 2=−a∗−b∗=2 p |axby−aybx|(−ay−by,ax+bx).(3) Let us consider now γ 1 and γ 2 to be the angles between vectors c∗ 1and c∗ 2and the horizontal axis, respectively (see Fig. 2b), numerically calculated using the standard atan2(y,x) function that returns the four-quadrant inverse tangent of a point (x,y) in the plane. So, γ 1 and γ 2 can be related to the real-space lattice coordinates as: g 1=atan2−ax+bx |axby−aybx|,ay−by |axby−aybx|  =atan2(−ax+bx,ay−by),(4) g 2=atan2ax+bx |axby−aybx|,−ay−by |axby−aybx|  =atan2(ax+bx,−ay−by).(5) This is an important modification with respect to our previous paper (Bárcena-González et al., 2018), where only those orientations having two symmetric reciprocal lattice vectors were taken into account. In that case, γ 1 +γ 2 was restricted to be an integer multiple of 90°. The absolute positions of the reciprocal lattice vectors in this orientation, which define the particular values for γ 1 and γ 2 ,are taken as references for the measurement of the so-called rotation angle, ϕ,as 0. However, the sample could generally be rotated counter-clockwise regarding the reference at an angle ϕwhen it is introduced into the microscope. Now, we have a new pair of rotated vectors in real space a ′ and b ′ that mathematically could be described by the corresponding rotation matrix [see equations (6) and (7)]. In the same way, a∗,b∗,c ∗ 1,and c∗ 2are transformed into a′∗,b′∗,c ′∗ 1,and c′∗ 2, respectively. Remarkably, g ′ 1and g ′ 2angles could be obtained by adding the rotation Fig. 1. (a) Image space representing the real lattice defined by basis vectors (aand b) and the distances between planes (d a and d b ) used to geometrically derive the reciprocal vectors a* and b* for blue and green planes, respectively. (b) Reciprocal lattice vectors (a* and b*) associated with the lattice described by the basis vectors (aand b). 914 G. Bárcena‐González et al. https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. angle ϕto γ 1 and γ 2 angles, respectively (see Figs. 3a,3b). a′=cos f amp;−sin f sin f amp;cos f  ×(ax,ay),(6) b′=cos f amp;−sin f sin f amp;cos f  ×(bx,by).(7) Let us consider now how a linear drift affects the positions of the reciprocal lattice vectors in rotated Fourier space. Throughout this work, we will assume that the drift rate is constant along the x-axis of the image in the real space, so the scanning produces a cumulative displacement regarding the y-axis that could be described by a drift angle, α[see Bárcena-González et al. (2018)]. Therefore, this drift also yields a displacement of the lattice vectors in the reciprocal space with respect to the vertical axis, Fig. 2. (a) Reciprocal lattice vectors of a hypothetically drift-free crystal. (b) In green, vectors of differences, c∗ 1and c∗ 2, that form the angles γ 1 and γ 2 with respect to the horizontal axis. Fig. 3. (a) Image of the hypothetical material rotated an angle ϕregarding the reference (ϕ= 0). The lattice vectors, a* and b*, have been marked with orange arrows. In blue, the rotated vectors a′∗ and b′∗.(b) The difference vectors c′∗ iand the corresponding angles g ′ 1will be increased by ϕ. Microscopy and Microanalysis 915 https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. proportional to the y-component of the vectors and the tangent of the drift angle (α) in real space, generating a∗and b∗vectors (see Fig. 4a). Again, we can define two new vectors, c∗ 1as the difference between a∗and b∗located between fourth and first quadrants; and c∗ 2, as the difference between −a∗and b∗, located between fourth and third quadrants (see Fig. 4b). Let us denote β 1 and β 2 as the angles of c∗ 1and c∗ 2with respect to the horizontal axis. Both angles, β 1 and β 2 , are the input data obtained from experimental measurements in the reciprocal space in an experimental image with a drift effect. The analytical solution for both angles from the previous formulation is: b 1=atan2 s 2∗−(ax−bx) cos( a )  + s 1∗−(ay−by) cos( a ) , (ay−by)∗cos( f )+(ax−bx)∗sin( f )),(8) b 2=atan2 s 2∗(ax+bx) cos( a )  + s 1∗(ay+by) cos( a ) , (−ay−by)∗cos( f )+(−ax−bx)∗sin( f ),(9) Where s 1=sin( a − f ),(10) s 2=cos( a − f ).(11) Some mathematical packages have tried to generate a symbolic solution for αwithout success. Nevertheless, this mathematical derivation could help us to find certain conditions in which the equation is simpler and where the drift can be calculated in a precise way. Previously, we demonstrated in Bárcena-González et al. (2018) that the sum of β 1 and β 2 could almost provide us a good approximation of the drift angle under certain conditions (c∗ 1and c∗ 2are perpendicular), with some limitations (drift angles below 5°). In this work, we suggest that the sum between ( b 1− g ′1) and ( b 2− g ′2) might allow us to estimate the drift using whatever material without any restriction in the election of the reference reciprocal lattice vectors. Furthermore, any possible rotation ϕis taken into account using g ′ 1,so a coarse value of αcould be obtained as follows: a ′≈ b 1+ b 2− g ′ 1− g ′ 2= b 1+ b 2− g 1− g 2−2 f ,(12) where β i are the angle measurements in the experimental image, and γ i are the ones in the reference drift-free image. At this point, we can calculate how the drift angle (α) and the rotation angle (ϕ) affect the position of the spots assuming a pair of reciprocal lattice vectors, a∗located in the first or third quadrant and b∗located in the second or fourth quadrant. First, for a chosen orientation (ϕ= 0), γ 1 and γ 2 are constant values that are obtained from equations (4) and (5). Then, α ′ [equation (12)] could be calculated when β 1 and β 2 values are known according to equations (8) and (9). Figure 5 shows the error in degrees as the difference between real drift, α,and the calculated drift, α′, versus the rotation angle (ϕ) for different drift angle values (α). As we can observe, the error is very small for drift angles below 5° at any rotation angle but increases exponentially for higher drift values, especially for rotation angles that are around multiples of π/4. Regardless, the approach always provides three exact solutions for each drift value. Two of them are the same for all the cases, when ϕ=0 or ϕ=π/2, while the third one depends on the α-value, as π/4–α/2. The last solution is not useful, as the unknown αis part of the solution. Therefore, if the drift is Fig. 4. (a) Displaced peak positions due to the drift effect in the reciprocal space a∗and b∗.(b) Vectors c∗and c∗ 2and the angles formed with respect to the horizontal axis β 1 and β 2 . 916 G. Bárcena‐González et al. https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. parallel or perpendicular to the y-axis in the image, the approach has no error. As we have deduced, the drift could be calculated exactly using equation (12) only for values of ϕ,0,orπ/2. However, as the first step consists of rotating the image in such a way that the drift is aligned along the x-axis, ϕcan take any value regarding the reference orientation (ϕ= 0), which determines the possible values of γ i . Materials and Methods Considering everything, we have developed an iterative algorithm to correct an image affected by a linear drift through a series of steps. The upper limit is imposed by the resolution and the pixel density of the image, that is, the algorithm will iterate until the increase/decrease of the measured drift (α ′ ) in the successive iterations, does not produce an image deformation of at least one pixel (Δα). The code for determining the drift angle of an experimental image (CDrift) is explained in the following and given at the end of this section. First, we must enter the coordinates of the reference lattice positions in the reciprocal space of a perfect crystal (a*,b*) for a defined orientation, ϕ= 0, which are constant for this pole and may be calculated from crystallographic tables in the case of a well-known material and also from another drift-free image in the same orientation. To increase the precision of the angle measurement, it is recommended to use the position of the second harmonic or beyond, as described in Bárcena-González et al. (2018). Next, in the real image, which is probably rotated regarding the reference coordinates at an angle ϕ, the coordinates of two selected reciprocal lattice positions (a∗ i,b∗ i) have to be determined. Then, the algorithm works by iteratively finding the rotation angle, ϕ. For this, the image is rotated up to the x-component of the selected spots is as close as possible to the x-component of the reference. The precision of the calculation is defined by Δϕgiving the first approximation to ϕ. In the rotated image, β 1 and β 2 could be analytically calculated using equations (8–11). Now, it is possible to draw the first a ′ 1by applying equation (12) and use it to correct the image. This process is repeated until the correction of αis null, which directly depends on the pixel resolution of the original image (Δα). Algorithm CDrift(a*,b*) c∗ 1a∗−b∗c∗ 2−a∗−b∗ g 1atan2(c∗ 1y,c∗ 1x) g 2atan2(c∗ 2y,c∗ 2x) Xo {a∗ x,b∗ x,−a∗ x,−b∗ x}Yo{a∗ y,b∗ y,−a∗ y,−b∗ y} while α ′ <=Δα Pick in the image the spots of the fundamental frequencies Xd {a∗ ix,b∗ ix ,−a∗ ix,−b∗ ix} Yd {a∗ iy,b∗ iy,−a∗ iy,−b∗ iy} Calculate the position of the harmonics ϕ←0 Do aux ←cos(ϕ)*Xo −sin(ϕ)*Yo ϕ←ϕ+Δϕ while  (aux −Xd)2 0 Z 1 ←{Xd 1 –Xd 3 ,Yd 1 –Yd 3 }Z 2 ←{Xd 3 –Xd 2 ,Yd 3 ←Yd 2 } β 1 ←atan2(Z 1y ,Z 1x )β 2 ←atan2(Z 2y ,Z 2x ) g ′ 1 g 1− fg ′ 2 g 2− f a ′ b 1+ b 2− g ′ 1− g ′ 2−2 f end-while return ϕ,α ′ Application of CDrift To show the accuracy and robustness of CDrift as well as its feasibility for any orientation and crystallography, the proposed methodology has been applied to an HR HAADF-STEM- simulated image of a Pu crystal along the [010] direction. The lattice parameters of the unit cell of Pu are a= 6.183, b= 4.822, c= 10.963 Å; β= 101.79° (Zachariasen & Ellinger, 1963). We have used this monoclinic material because in that orientation all of the reciprocal lattice vectors have different magnitudes. A Pu drift-free image (1,536 × 1,536 pixels with a resolution of Fig. 5. Error in degrees as the difference between real drift, α, and the calculated drift, α ′ , using equation (12). There exists three algebraic solutions in 0, π/2, and π/ 4–α/2 and multiples of π/2 of the same values. Microscopy and Microanalysis 917 https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. 185 pixels per nanometer) was simulated along [010], with the following conditions: a 100 kV-dedicated VG Microscope HB501UX STEM, Cs = −50 μm, C5 = 63 mm, inner detector angle = 70 mrad, outer detector angle = 200 mrad, and objective aperture = 27 mrad (Fig. 6a). The chosen reference orientation (ϕ=0) is that in which the ydirection of the image corresponds to the [100] direction of the unit cell. Figure 6b displays the fast Fourier transform (FFT) of this perfect crystal in this reference orientation. The first inputs to the CDrift procedure are the coordinates of the selected spots in Figure 6b (X o ,Y o ) that allow calculating the corresponding γ i . These coordinates, which correspond to two sets of planes, are constants that could be obtained from the crystallographic tables of the material (Chateigner et al., 2020). Fig. 6. (a) Simulated image of a perfect crystal of Pu along [010]. The ydirection of the image corresponds to [001]. That is the reference orientation, ϕ=0.(b)FFTof this perfect crystal. The coordinates of the selected spots (circles in red and blue) are the first inputs to CDrift. (c) Image of Pu with a rotation of 21.63° and distorted with a drift angle of 15°. (d) FFT of the previous image and the corresponding spots. (eand f) Final image after applying CDrift and the corresponding FFT, respectively. 918 G. Bárcena‐González et al. https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. In Figure 6c, the simulated image has been rotated an angle ϕ = 21.63° regarding the reference and a drift effect of α= 15.01° included, corresponding to a sample drift of 0.023 nm/s for a pixel dwell time of 40 μs. The linear drift effect was simulated shifting to the right a pixel every few rows of pixels in each row of the image that is proportional to the distance from the upper left corner of the image. Certainly, the drift profile is not exactly continuous but with discrete changes. However, given the pixel density used (185 pixels/nm), we consider this effect to be negligible. Figure 6d shows the corresponding FFT of this simulated image that represents the experimental image. The algorithm starts by asking for the reference lattice vectors in the real space in the reference orientation, then these vectors are used to calculate γ i values. Next, in order to apply an FFT to the experimental image, the user must select the spots corresponding to the reference vectors. To improve the accuracy of the calculations, it is recommended to use the spots corresponding to the second or higher harmonics. In each iteration, the drift effect α i is corrected, and the reconstructed image is progressively closer to the drift-free image (see Figs. 6e,6f). Only four iterations have been needed to obtain a lineal drift of 15.226° and a rotation angle of 21.506°, as shown in Table 1. The errors with respect to the initial values of ϕand αare 0.124° and 0.216°, respectively. In addition, the reconstructed step-by-step image is better than the one obtained in one step. The algorithm will finish iterating when the value of the drift calculated in that iteration is less than a step value. This value would be the minimum angle that produces any change in the image, that is, the drift that produces at least one pixel shift in the image. In order to analyze the drift effect as well as the quality of the drift correction, the use of histograms of the distances between neighboring atom-columns gives an accurate picture (Sang & LeBeau, 2014). For this, we define two atomic distances between the bases, as shown in the inset of Figure 7a, and represent the distances obtained for the whole image using histograms. The atom column positions are defined using a normalized crosscorrelation approach and Gaussian peak fitting (Zuo et al., 2014). Figure 7 shows the histograms of the drift-free simulated image, the drift-distorted simulated image, and the drift-corrected image. For the case of a perfect image without drift (Fig. 6a), two thin peaks are clearly formed in Figure 7a. In contrast, the atom distance histogram (Fig. 7b) obtained from the image with drift distortion (Fig. 6c) has not maximized distances. Finally, the atom distance histogram in Figure 7c, which corresponds to the drift-corrected image using CDrift, is very similar to that obtained from a perfect crystal. Our methodology has achieved a quasiperfect correction of large linear drifts (greater than 15°) in a monoclinic crystal where the reciprocal network vectors are all different. Conclusions In this paper, we have developed the mathematical derivation of the lineal drift effect in an HAADF-STEM image, analyzing how affects the positions of the reciprocal lattice positions in the Fourier space. As there is not a manageable analytical equation to deduce drift angle, we have proposed an iterative algorithm to detect and correct linear drift using a single HAADF-STEM image, CDrift, based on rotation calculations and the measurements of the displaced reciprocal vectors. This method generalizes and outperforms our previous scheme for any crystalline material and orientation. Table 1. Iterations Of CDrift In Order To Calculate αand ϕAngles. Iteration 1 Iteration 2 Iteration 3 Iteration 4 Sum α13.007° 2.037° 0.167° 0.015° 15.226° ϕ21.606° 21.506° 21.506° 21.506° αis calculated as the sum of the values obtained in each iteration and ϕas the value obtained in the last iteration. Fig. 7. (a) Distance histogram of the reference image of Figure 6a. The selected distances between the atomic columns are pointed in the inset. Two thin peaks are clearly defined. (b) Atom distance histogram of the drifted image of Figure 6c. The drift distortion deeply flattens the distance histogram. (c) The corresponding atom distance histogram of the reconstructed image of Figure 6e. Atomic distances have less dispersion and are again defined in two peaks in the histogram. Microscopy and Microanalysis 919 https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms. Acknowledgments. We acknowledge funding from the Spanish Government (projects MAT2016-77491-C2-2-R and TEC2017-86102-C2-2-R) and SCCYTUCA for technical support. References Bárcena-González G, Guerrero-Lebrero MP, Guerrero E, Fernández-Reyes D, González D, Mayoral A, Utrilla JM, Ulloa JM & Galindo PL (2016). Strain mapping accuracy improvement using super-resolution techniques. J Microsc 262(1), 50–58. doi:10.1111/jmi.12341 Bárcena-González G, Guerrero-Lebrero MP, Guerrero E, Reyes DF, Braza V, Yañez A, Nuñez-Moraleda B, González D & Galindo PL (2018). Correcting sample drift using Fourier harmonics. Micron 110. doi:10.1016/j.micron.2018.04.004 Bárcena-González G, Guerrero-Lebrero MP, Guerrero E, Yañez A, Fernández-Reyes D, González D & Galindo PL (2017). Evaluation of high-quality image reconstruction techniques applied to high-resolution Z-contrast imaging. Ultramicroscopy 182, 283–291. doi:10.1016/ j.ultramic.2017.07.014 Berkels B & Liebscher CH (2019). Ultramicroscopy Joint non-rigid image registration and reconstruction for quantitative atomic resolution scanning transmission electron microscopy. Ultramicroscopy 198,49–57. doi:10.1016/j.ultramic.2018.12.016 Berkels B, Sharpley R, Binev P, Yankovich A, Shi F, Voyles P & Dahmen W (2012a). High precision STEM imaging by non-rigid alignment and averaging of a series of short exposures. Microsc Microanal 18(S2), 300–301. Berkels B, Yankovich AB, Shi F, Voyles PM, Dahmen W, Sharpley R & Binev P (2012b). High precision STEM imaging by non-rigid alignment and averaging of a series of short exposures. Microsc Microanal 18(S2), 300–301. doi:10.1017/S1431927612003352 Binev P, Blanco-Silva F, Blom D, Dahmen W, Lamby P, Sharpley R & Vogt T(2012). High-quality image formation by nonlocal means applied to high-angle annular dark-field scanning transmission electron microscopy (HAADF–STEM). Nanostruct Sci Technol. doi: doi:10.1007/978-1-4614- 2191-7_5. Braidy N, Le Bouar Y, Lazar S & Ricolleau C (2012). Correcting scanning instabilities from images of periodic structures. Ultramicroscopy 118,67– 76. doi:10.1016/j.ultramic.2012.04.001 Chateigner D, Chen D, Ciriotti D, Downs RT, Gražulis S, Kaminsky W, Le Bail A, Lutterotti L, Matsushita Y, Merkys A, Moeck P, Murray-Rust P, Quirós Olozábal M, Rajan H & Yokochi AFT (2020). Crystallography Open Database. Available at http://www.crystallography.net/cod/index.php. Jones L & Nellist PD (2013). Identifying and correcting scan noise and drift in the scanning transmission electron microscope. Microsc Microanal 19(4), 1050–1060. doi:10.1017/S1431927613001402 Muller A & Grazul J (2001). Optimizing the environment for sub-0.2 nm scanning transmission electron microscopy. J Electron Microsc 50(3), 219–226. doi:10.1093/jmicro/50.3.219 Nakanishi N, Yamazaki T, Rečnik A, Čeh M, Kawasaki M, Watanabe K & Shiojiri M (2002). Retrieval process of high-resolution HAADF-STEM images. J Electron Microsc 51(6), 383–390. doi:10.1093/jmicro/51.6.383 Ning S, Fujita T, Nie A, Wang Z, Xu X, Chen J, Chen M, Yao S & Zhang T (2018). Scanning distortion correction in STEM images. Ultramicroscopy 184, 274–283. doi:10.1016/j.ultramic.2017.09.003 Ophus C, Ciston J & Nelson CT (2016). Correcting nonlinear drift distortion of scanning probe and scanning transmission electron microscopies from image pairs with orthogonal scan directions. Ultramicroscopy 162,1–9. doi:10.1016/j.ultramic.2015.12.002 Pennycook SJ & Jesson DE (1991). High-resolution Z-contrast imaging of crystals. Ultramicroscopy 37(1–4), 14–38. doi:10.1016/0304-3991(91)90004-P Rečnik A, Möbus G & Šturm S (2005). IMAGE-WARP: A real-space restoration method for high-resolution STEM images using quantitative HRTEM analysis. Ultramicroscopy 103(4), 285–301. doi:10.1016/j.ultramic.2005.01.003 Saito M, Kimoto K, Nagai T, Fukushima S, Akahoshi D, Kuwahara H, Matsui Y & Ishizuka K (2009). Local crystal structure analysis with 10- pm accuracy using scanning transmission electron microscopy. J Electron Microsc 58(3), 131–136. doi:10.1093/jmicro/dfn023 Sang X & LeBeau JM (2014). Revolving scanning transmission electron microscopy: Correcting sample drift distortion without prior knowledge. Ultramicroscopy 138,28–35. doi:10.1016/j.ultramic.2013.12.004 Sang X, Lupini AR, Ding J, Kalinin SV, Jesse S & Unocic RR (2017). Precision controlled atomic resolution scanning transmission electron microscopy using spiral scan pathways. Sci Rep 7, 43585. doi:10.1038/srep43585 Von Harrach HS (1995). Instrumental factors in high-resolution FEG STEM. Ultramicroscopy 58(1), 1–5. doi:10.1016/0304-3991(94)00172-J Zachariasen WH & Ellinger FH (1963). The crystal structure of alpha plutonium metal. Acta Crystallogr 16(8), 777–783. doi:10.1107/S0365110X63002012 Zuo J-M, Shah AB, Kim H, Meng Y, Gao W & Rouviére J-L (2014). Lattice and strain analysis of atomic resolution Z-contrast images based on template matching. Ultramicroscopy 136,50– 60. doi:10.1016/j.ultramic.2013.07.018 920 G. Bárcena‐González et al. https://doi.org/10.1017/S1431927620001774 Downloaded from https://www.cambridge.org/core. Universidad de Sevilla, on 23 Jul 2021 at 11:02:15, subject to the Cambridge Core terms of use, available at https://www.cambridge.org/core/terms.