Method and device for reconstructing electron orbital spatial distribution and electron beam function

By constructing and optimizing the sample transmission function and electron beam function, using Zernike coefficients and local functions, the problem that traditional electron microscopy imaging methods cannot obtain parameterized information is solved, and high-precision electron beam and transmission function representation is achieved.

CN114461977BActive Publication Date: 2024-11-15TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210113941.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2024-11-15
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

Traditional electron microscopy imaging methods cannot directly obtain parameterized information such as atomic position and electron orbital occupancy of the sample, and can only obtain intuitive image information.

Method used

By controlling the moving electron beam to scan the sample, the sample transmission function and electron beam function are constructed, the forward propagation model containing the parameters to be optimized, the loss function value is calculated, and the optimized sample transmission function and electron beam are obtained through the iterative optimization process. Function, describes electron beam and transmission functions using Zernike coefficients and local functions.

Benefits of technology

The optimization of electron beam function and transmission function is achieved, breaking through the limitations of traditional stacked imaging algorithms, and directly obtaining parameterized representations of atomic positions and spatial distribution of electron orbits in the sample, improving the accuracy and resolution of imaging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461977B_ABST
    Figure CN114461977B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for reconstructing the spatial distribution of electron orbits and electron beam functions, wherein the method includes: controlling a mobile electron beam to scan a sample, obtaining the diffraction intensity of each scanning position of the sample; initializing the sample transmission function and the electron beam function, establishing a forward propagation model containing parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculating the loss function value; solving the derivative of the loss function with respect to the parameters to be optimized, obtaining the gradient of the parameters to be optimized in the sample transmission function and the electron beam function, optimizing the parameters to be optimized according to the gradient, and updating the loss function value, repeating the iterative process until the iteration termination condition is met, and outputting the optimized sample transmission function and the optimized electron beam function. The embodiment of the present application can achieve a resolution of sub-pixel precision, and at the same time, directly obtain parameterized information such as atomic position and electron orbital spatial distribution while retaining the advantages of traditional stacked imaging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of imaging technology, and in particular to a method and device for reconstructing the spatial distribution of electron orbits and electron beam functions. Background Art

[0002] Traditional electron microscopy imaging methods play an important role in characterizing the microstructure of materials. Existing stack imaging methods can obtain information about the electron beam function and the amplitude and phase of the sample. However, these imaging methods only obtain intuitive image information, but cannot directly obtain accurate parameterized information, such as atomic position, orbital occupancy, etc. Summary of the invention

[0003] The present application provides a method, device, electronic device and storage medium for reconstructing the spatial distribution of electron orbits and electron beam functions, so as to solve the problem that the related technology can only obtain intuitive image information of the sample but cannot parametrically represent the atomic position and orbital occupancy.

[0004] The first aspect of the present application provides a method for reconstructing the spatial distribution of electron orbits and electron beam functions, comprising the following steps: S101, controlling a moving electron beam to scan a sample, and obtaining the diffraction intensity of each scanning position of the sample; S102, constructing a sample transmission function and an electron beam function, and establishing a forward propagation model including parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculating a loss function value; S103, solving the derivative of the loss function with respect to the parameters to be optimized, obtaining the gradient of the parameters to be optimized in the sample transmission function and the electron beam function, optimizing the parameters to be optimized according to the gradient, and updating the loss function value; S104, determining whether the current iteration satisfies an iteration termination condition, and executing S103 if not, and outputting an optimized sample transmission function and an optimized electron beam function if the iteration termination condition is met.

[0005] Optionally, in one embodiment of the present application, constructing the sample transmission function and the electron beam function includes: describing the sample transmission function using a local function of the electron orbital spatial distribution; and describing the electron beam function using an aberration function corresponding to the Zernike coefficient.

[0006] Optionally, in one embodiment of the present application, before constructing the sample transmission function and the electron beam function, it also includes: initializing the parameters to be optimized in the sample transmission function and the electron beam function, the parameters to be optimized in the electron beam function include Zernike coefficients, and the parameters to be optimized in the sample transmission function include atomic positions and parameters describing the spatial distribution of electron orbitals.

[0007] Optionally, in one embodiment of the present application, the loss function is:

[0008]

[0009] Where j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exit is the outgoing wave function;

[0010] The exit wave function ψ exit for:

[0011]

[0012] Where P(r) is the electron beam function, P(rr j ) is the electron beam scanned to the jth position, represents the Fresnel diffraction factor, O l (r) is the sample transmission function of layer l;

[0013] The sample transmission function O l (r) is:

[0014]

[0015] Among them, V l (r) is the projection potential of the transmission function of the lth layer, Amp l (r) is the amplitude of the transmission function of the lth layer,

[0016] V l (r) = s l (r)+p l (r)+d l (r)+f l (r)+…,

[0017]

[0018] Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the first electron layer, s l (r) is represented by the local function of the Gaussian function:

[0019]

[0020] The electron beam function P(r) is:

[0021]

[0022] Among them, A(k) is the aperture function, C n,m is the Zernike coefficient, χ(k) is the aberration function, R{·} represents the real part of the matrix in brackets, and the content in {·} represents multiple Zernike coefficients.

[0023] Optionally, in one embodiment of the present application, the iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

[0024] The second aspect of the present application provides a device for reconstructing the spatial distribution of electron orbits and electron beam functions, including: an acquisition module, used to control the moving electron beam to scan the sample, and obtain the diffraction intensity of each scanning position of the sample; a construction module, used to construct the sample transmission function and the electron beam function, and establish a forward propagation model containing the parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculate the loss function value; an optimization module, used to solve the derivative of the loss function with respect to the parameters to be optimized, obtain the gradient of the parameters to be optimized in the sample transmission function and the electron beam function, optimize the parameters to be optimized according to the gradient, and update the loss function value, repeat the iterative process until the iteration termination condition is met, and output the optimized sample transmission function and the optimized electron beam function.

[0025] Optionally, in one embodiment of the present application, constructing the sample transmission function and the electron beam function includes: describing the sample transmission function using a local function of the electron orbital spatial distribution; and describing the electron beam function using an aberration function corresponding to the Zernike coefficient.

[0026] Optionally, in one embodiment of the present application, it also includes: an initialization module, used to initialize the parameters to be optimized in the sample transmission function and the electron beam function before constructing the sample transmission function and the electron beam function, the parameters to be optimized in the electron beam function include Zernike coefficients, and the parameters to be optimized in the sample transmission function include atomic positions and parameters describing the spatial distribution of electron orbitals.

[0027] Optionally, in one embodiment of the present application, the loss function is:

[0028]

[0029] Where j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exitis the outgoing wave function;

[0030] The exit wave function ψ exit for:

[0031]

[0032] Where P(r) is the electron beam function, P(rr j ) is the electron beam scanned to the jth position, represents the Fresnel diffraction factor, O l (r) is the sample transmission function of layer l;

[0033] The sample transmission function O l (r) is:

[0034]

[0035] Among them, V l (r) is the projection potential of the transmission function of the lth layer, Amp l (r) is the amplitude of the transmission function of the lth layer,

[0036] V l (r) = s l (r)+p l (r)+d l (r)+f l (r)+…,

[0037]

[0038] Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the first electron layer, s l (r) is represented by the local function of the Gaussian function:

[0039]

[0040] The electron beam function P(r) is:

[0041]

[0042] Among them, A(k) is the aperture function, C n,m is the Zernike coefficient, X(k) is the aberration function, R{·} represents the real part of the matrix in brackets, and the content in {·} represents multiple Zernike coefficients.

[0043] Optionally, in one embodiment of the present application, the iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

[0044] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to perform the method for reconstructing the spatial distribution of electron orbits and electron beam functions as described in the above embodiments.

[0045] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to perform the method of reconstructing the spatial distribution of electron orbits and the electron beam function as described in the above embodiments.

[0046] The method and device for reconstructing the electron orbital spatial distribution and electron beam function in the embodiment of the present application represent the electron beam function by a function calculated by a method not limited to the Zernike coefficient, breaking through the limitation of the traditional stack imaging algorithm that directly operates on the pixels in the space where the electron beam function is located, making the optimized electron beam function closer to the real electron beam. At the same time, the transmission function is represented by a local function not limited to the electron orbital spatial distribution, which can break through the limitation of the existing stack imaging algorithm and directly obtain the atomic position information in the sample.

[0047] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0049] Figure 1 A flowchart of a method for reconstructing electron orbital spatial distribution and electron beam function provided according to an embodiment of the present application;

[0050] Figure 2 This is a schematic diagram of the projection structure of the strontium titanate sample used in Example 1 provided in accordance with an embodiment of the present application along the

[110] direction;

[0051] Figure 3 A schematic diagram of the distribution of electron beam scanning points provided according to an embodiment of the present application;

[0052] Figure 4 A schematic diagram of a diffraction pattern at the 1000th scanning position provided according to an embodiment of the present application;

[0053] Figure 5A schematic diagram of an electron beam function amplitude image initialized by Zernike coefficients according to an algorithm provided in an embodiment of the present application;

[0054] Figure 6 A schematic diagram of an electron beam function phase image initialized by Zernike coefficients according to an algorithm provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of an amplitude image of a transmission function initialized by a Gaussian function according to an algorithm provided in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of a phase image of a transmission function initialized by a Gaussian function according to an algorithm provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the diffraction pattern of the 1000th scanning point obtained after initializing the transmission function and the electron beam function according to the algorithm provided in the embodiment of the present application;

[0058] Fig.10 A schematic diagram of an amplitude image of an electron beam function reconstructed by an algorithm provided in an embodiment of the present application;

[0059] Fig.11 A schematic diagram of a phase image of an electron beam function reconstructed according to an algorithm provided in an embodiment of the present application;

[0060] Fig.12 A schematic diagram of a transmission function phase image reconstructed according to an algorithm provided in an embodiment of the present application;

[0061] Fig.13 A schematic diagram of the diffraction pattern of the 1000th scanning point obtained after reconstructing the transmission function and the electron beam function according to the algorithm provided in the embodiment of the present application;

[0062] Fig.14 A schematic diagram of a change curve of a Loss function during an algorithm iteration process provided in an embodiment of the present application;

[0063] Fig.15 is an exemplary diagram of a device for reconstructing electron orbital spatial distribution and electron beam function according to an embodiment of the present application;

[0064] Fig.16 A schematic diagram of the structure of an electronic device provided for an application embodiment. DETAILED DESCRIPTION

[0065] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0066] The following describes the method, device, electronic device and storage medium for reconstructing the spatial distribution of electron orbits and electron beam functions of the embodiments of the present application with reference to the accompanying drawings. In view of the problem that the atomic position and orbital occupancy cannot be represented parameterized as mentioned in the above background technology center, the present application provides a method for reconstructing the spatial distribution of electron orbits and electron beam functions, in which the electron beam function is represented by an aberration function corresponding to a coefficient not limited to the Zernike coefficient, and the transmission function is represented by a parameterized form of a local function not limited to the spatial distribution of the electron orbit, so that sub-pixel resolution can be achieved. At the same time, while retaining the advantages of traditional stacked imaging, information such as atomic position and electron orbital spatial distribution is represented parameterized. Thus, the problem that the related technology can only obtain intuitive image information of the sample and cannot represent the atomic position and orbital occupancy parameterized is solved.

[0067] Specifically, Figure 1 The present invention is a flowchart of a method for reconstructing the electron orbital spatial distribution and electron beam function provided according to an embodiment of the present application.

[0068] like Figure 1 As shown, the method for reconstructing the electron orbital spatial distribution and the electron beam function comprises the following steps:

[0069] In step S101, the moving electron beam is controlled to scan the sample to obtain the diffraction intensity at each scanning position of the sample.

[0070] Specifically, a moving electron beam is used to perform periodic or non-periodic scanning on the sample, and diffraction intensity data generated when the electron beam is located at each scanning position is collected, and the diffraction intensity is obtained from the diffraction intensity data.

[0071] In step S102, a sample transmission function and an electron beam function are constructed, a forward propagation model including parameters to be optimized is established according to the diffraction intensity, the sample transmission function and the electron beam function, and a loss function value is calculated.

[0072] In the embodiments of the present application, the transmission function of the sample is described by using local functions including but not limited to the spatial distribution of electron orbits, and the electron beam function is described by using aberration functions corresponding to but not limited to Zernike coefficients. The loss function is obtained based on the constructed sample transmission function and electron beam function, and the stacking reconstruction problem is converted into an optimization problem.

[0073] Optionally, in one embodiment of the present application, before constructing the sample transmission function and the electron beam function, it also includes: initializing the parameters to be optimized in the sample transmission function and the electron beam function, the parameters to be optimized in the electron beam function include the Zernike coefficients, and the parameters to be optimized in the sample transmission function include the atomic positions and the parameters describing the spatial distribution of the electron orbitals.

[0074] Before constructing the sample transmission function and the electron beam function, the parameters in the sample transmission function and the electron beam function are initialized, and the initialization parameters include the Zernike coefficient, the atomic position, and the s orbital peak width, s orbital peak height, amplitude peak width, amplitude peak height, and other parameters describing the spatial distribution of the electron orbit. Among them, the electron beam function is obtained according to the Zernike coefficient, and the transmission function is obtained according to the atomic position, the s orbital peak width, the s orbital peak height, the amplitude peak width, the amplitude peak height, and other parameters describing the spatial distribution of the electron orbit, and then the loss function L is calculated.

[0075] Optionally, in one embodiment of the present application, the loss function is written as a function of the sample transmission function, the electron beam function, etc., including but not limited to the following forms:

[0076]

[0077] Where j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exit is the outgoing wave function.

[0078] In the embodiment of the present application, the output wave function ψ exit is a function related to the sample transmission function and the electron beam function, and the output wave function ψ exit The specific form is:

[0079]

[0080] The electron beam function obtained based on the Zernike coefficients is as follows:

[0081]

[0082] P(rr j ) represents the electron beam scanning to the jth position, P(rr j ) can be obtained by a variety of methods including but not limited to the following methods: The aperture function A(k) and the given Zernike coefficient C n,m The corresponding aberration function χ(k) is obtained by the following formula:

[0083]

[0084] R{·} means taking the real part of the matrix in the brackets, and ... in {·} represents other Zernike coefficients.

[0085] The transmission function O of the first layer is obtained based on the atomic position, s orbital peak width, s orbital peak height, amplitude peak width, amplitude peak height, and other parameters describing the spatial distribution of electron orbits. l (r) is as follows:

[0086]

[0087] Among them, V l (r) and Amp l (r) represent the projection potential and amplitude of the transmission function of the first layer, respectively, and can be described by the following expressions including but not limited to:

[0088] V l (r) = s l (r)+p l (r)+d l (r)+f l (r)+…,

[0089]

[0090] Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the electrons in the first layer, and so on. Taking the reconstruction of the s-orbital spatial distribution of electrons as an example to further illustrate, it is obvious that the example of reconstructing the transmission function described by the s-orbital spatial distribution of electrons is only a part of this application. l (r) can be described by a local function including but not limited to a Gaussian function.

[0091]

[0092] It can be assumed that each layer of the transmission function has the same thickness. represents Fresnel diffraction or other effects, where p(k; dz) represents the Fresnel diffraction effect factor or other effect factor. Fresnel diffraction can be expressed as:

[0093]

[0094] p(k;dz)=exp(-iπdzλk 2 ),

[0095] Where dz represents the thickness of each layer of the sample.

[0096] In step S103, the derivative of the loss function with respect to the parameter to be optimized is solved, the gradient of the parameter to be optimized in the sample transmission function and the electron beam function is obtained, the parameter to be optimized is optimized according to the gradient, and the loss function value is updated.

[0097] In step S103, it is determined whether the current iteration satisfies the iteration termination condition. If not, S103 is executed. If the iteration termination condition is satisfied, the optimized sample transmission function and the optimized electron beam function are output.

[0098] After constructing the loss function through the above process, the parameters in the loss function are regarded as parameters to be optimized. The gradient of the parameters to be optimized is obtained by deriving the loss function to iteratively optimize the corresponding parameters.

[0099] It can be understood that the gradient of the loss function L with respect to parameters such as Zernike coefficient, atomic position, s orbital peak width, s orbital peak height, amplitude peak width, amplitude peak height, and other parameters describing the spatial distribution of electron orbitals is solved, and the parameters are updated using the calculated gradient.

[0100] Specifically, (M l,i ,N l,i ,A1 l,i ,B1 l,i ,A2 l,i ,B1 l,i ,C n,m ,D l ) are considered as parameters to be optimized, and the loss function is solved Yes (M l,i ,N l,i ,A1 l,i ,B1 l,i ,A2 l,i ,B1 l,i ,C n,m ,D l ) to iteratively optimize the corresponding parameters.

[0101] The gradient can be obtained by the following analytical expression (with Take the partial derivative of the electron orbital spatial distribution and amplitude of the single-layer transmission function as an example):

[0102]

[0103] in, It can be obtained by the following analytical expression:

[0104]

[0105] Among them, V(r) and Amp(r) are even functions, and Amp(r) is a real function, then their partial derivatives with respect to different parameters are:

[0106]

[0107] Substitute the partial derivatives of V(r) and Amp(r) with respect to different parameters into the formula In the formula, we can get Partial derivatives with respect to each parameter.

[0108] Furthermore, after obtaining the gradient of each parameter to be optimized through the loss function, the gradient is used to update the parameter to be optimized. Specifically:

[0109]

[0110] in and is the learning rate of each parameter. Other algorithms such as the Adam algorithm can be used to optimize the update process.

[0111] After optimizing the parameters to be optimized, the loss function is recalculated according to the optimized parameters and iterated until the iteration termination condition is met.

[0112] In one embodiment of the present application, the iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

[0113] Through the above iterative process, the optimized sample transmission function and the optimized electron beam function are finally obtained, and multiple sample-related parameters are obtained according to the optimized sample transmission function and the optimized electron beam function, such as but not limited to Zernike coefficients, atomic positions, and parameters describing the spatial distribution of electron orbits. In this way, not only can intuitive image information of the sample be obtained, but also the atomic position information and other information can be parametrically represented.

[0114] The method for reconstructing the electron orbital spatial distribution and electron beam function of the present application is described in detail below through the accompanying drawings and specific embodiments.

[0115] In one embodiment, what needs to be observed is the projection of strontium titanate along the

[110] direction, and its structure is as follows: Figure 2 As shown in the figure, the existing stacking imaging method can only obtain the amplitude and phase images of the transmission function of strontium titanate in the

[110] direction, but cannot obtain the precise atomic position and other information.

[0116] The electron beam is scanned on the sample, and the scanning point is referenced Figure 3 The detector collects the diffraction intensity data at each scanning position to obtain 4D-STEM data. The diffraction pattern at the 1000th scanning position is shown in Figure 4 The adopted convergence half angle was 25 mrad and the defocus was 6 nm.

[0117] Randomly initialize the aberration coefficients using the formula Initialize the electron beam function. Its amplitude is Figure 5 As shown, the phase Figure 6 As shown, the atomic position, s orbital peak height, s orbital peak width, amplitude peak height, amplitude peak width and other parameters are initialized to obtain the initial transmission function amplitude as shown in Figure 7 As shown, the phase Figure 8 At this time, the diffraction pattern of the 1000th scanning position is shown in Fig. 9 shown.

[0118] Calculating the loss function Find the loss function Regarding the gradient of the parameter to be optimized, the target parameter is iteratively updated using the following formula:

[0119]

[0120] in and is the learning rate of each parameter. Other algorithms such as Adam algorithm can be used to optimize the update process.

[0121] Finally, the amplitude image of the reconstructed electron beam function is obtained as follows: Fig.10 As shown, the phase image of the reconstructed electron beam function is as follows Fig.11 As shown, the reconstructed transmission function phase image is as follows Fig.12 As shown, the diffraction pattern at the 1000th scanning position is as follows Fig.13 As shown in the figure, the change curve of the Loss function during the algorithm iteration is as follows Fig.14 shown.

[0122] According to the method for reconstructing the electron orbital spatial distribution and electron beam function proposed in the embodiment of the present application, a series of diffraction patterns obtained by scanning the electron beam on the sample are used as data, and the transmission function of the atoms in the sample is described by a local function including but not limited to the electron orbital spatial distribution, and the electron beam function is described by an aberration function corresponding to the Zernike coefficient. In the iterative optimization algorithm of stacked imaging, the parameters of the transmission function are updated by the gradient of the loss function relative to the parameters of the transmission function, and the parameters of the electron beam function are updated by the gradient of the loss function relative to the parameters of the electron beam function, and finally the transmission function and the electron beam function are obtained. The present application directly obtains information such as the atomic coordinates and the electron orbital spatial distribution in the sample, and greatly reduces the number of parameters that need to be optimized in the stacked imaging optimization algorithm.

[0123] Next, a device for reconstructing the electron orbital spatial distribution and electron beam function proposed in accordance with an embodiment of the present application will be described with reference to the accompanying drawings.

[0124] Fig.15 It is a block diagram of a device for reconstructing the electron orbital spatial distribution and electron beam function according to an embodiment of the present application.

[0125] like Fig.15 As shown, the device 10 for reconstructing the electron orbital spatial distribution and the electron beam function includes: an acquisition module 100, a construction module 200 and an optimization module 300.

[0126] Among them, the acquisition module 100 is used to control the mobile electron beam to scan the sample and obtain the diffraction intensity of each scanning position of the sample. The construction module 200 is used to construct the sample transmission function and the electron beam function, establish a forward propagation model containing the parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculate the loss function value. The optimization module 300 is used to solve the derivative of the loss function with respect to the parameters to be optimized, obtain the gradient of the parameters to be optimized in the sample transmission function and the electron beam function, optimize the parameters to be optimized according to the gradient, and update the loss function value, repeat the iterative process until the iteration termination condition is met, and output the optimized sample transmission function and the optimized electron beam function.

[0127] Optionally, in one embodiment of the present application, constructing a sample transmission function and an electron beam function includes: describing the sample transmission function using a local function of the electron orbital spatial distribution; and describing the electron beam function using an aberration function corresponding to the Zernike coefficient.

[0128] Optionally, in one embodiment of the present application, it also includes: an initialization module, which is used to initialize the parameters to be optimized in the sample transmission function and the electron beam function before constructing the sample transmission function and the electron beam function, the parameters to be optimized in the electron beam function include Zernike coefficients, and the parameters to be optimized in the sample transmission function include atomic positions and parameters describing the spatial distribution of electron orbitals.

[0129] Optionally, in one embodiment of the present application, the loss function is:

[0130]

[0131] Among them, j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exit is the outgoing wave function;

[0132] The outgoing wave function ψ exit for:

[0133]

[0134] Where P(r) is the electron beam function, P(rr j ) is the electron beam scanned to the jth position, represents the Fresnel diffraction factor, O l (r) is the sample transmission function of layer l;

[0135] Sample transmission function O l (r) is:

[0136]

[0137] Among them, V l (r) is the projection potential of the transmission function of the lth layer, Amp l (r) is the amplitude of the transmission function of the lth layer,

[0138] V l (r) = s l (r)+p l (r)+d l (r)+f l (r)+…,

[0139]

[0140] Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the first electron layer, s l (r) is represented by the local function of the Gaussian function:

[0141]

[0142] The electron beam function P(r) is:

[0143]

[0144] Among them, A(k) is the aperture function, C n,m is the Zernike coefficient, χ(k) is the aberration function, R{·} represents the real part of the matrix in brackets, and the content in {·} represents multiple Zernike coefficients.

[0145] Optionally, in one embodiment of the present application, the iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

[0146] It should be noted that the above explanation of the method embodiment for reconstructing the spatial distribution of electron orbits and the electron beam function is also applicable to the device for reconstructing the spatial distribution of electron orbits and the electron beam function of this embodiment, and will not be repeated here.

[0147] According to the device for reconstructing the electron orbital spatial distribution and electron beam function proposed in the embodiment of the present application, the electron beam function is represented by an aberration function corresponding to a Zernike coefficient, and the transmission function is represented by a parameterized form of a local function not limited to the electron orbital spatial distribution, so that sub-pixel resolution can be achieved. At the same time, while retaining the advantages of traditional stacked imaging, information such as atomic positions and electron orbital spatial distribution is parameterized to facilitate further analysis.

[0148] Fig.16 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0149] A memory 1601 , a processor 1602 , and a computer program stored in the memory 1601 and executable on the processor 1602 .

[0150] When the processor 1602 executes the program, the method for reconstructing the electron orbital spatial distribution and the electron beam function provided in the above embodiment is implemented.

[0151] Furthermore, the electronic device further comprises:

[0152] The communication interface 1603 is used for communication between the memory 1601 and the processor 1602 .

[0153] The memory 1601 is used to store computer programs that can be executed on the processor 1602 .

[0154] The memory 1601 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0155] If the memory 1601, the processor 1602 and the communication interface 1603 are implemented independently, the communication interface 1603, the memory 1601 and the processor 1602 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.16 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0156] Optionally, in a specific implementation, if the memory 1601, the processor 1602 and the communication interface 1603 are integrated on a chip, the memory 1601, the processor 1602 and the communication interface 1603 can communicate with each other through an internal interface.

[0157] The processor 1602 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0158] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the above method for reconstructing the electron orbital spatial distribution and the electron beam function.

[0159] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0160] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0161] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0162] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0163] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

Claims

1. A method for reconstructing the spatial distribution of electron orbits and electron beam functions, characterized in that: The following steps are involved: S101, controlling the moving electron beam to scan the sample, and obtaining the diffraction intensity at each scanning position of the sample; S102, constructing a sample transmission function and an electron beam function, establishing a forward propagation model including parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculating a loss function value; S103, solving the derivative of the loss function with respect to the parameter to be optimized, obtaining the gradient of the parameter to be optimized in the sample transmission function and the electron beam function, optimizing the parameter to be optimized according to the gradient, and updating the loss function value; S104, determining whether the current iteration satisfies an iteration termination condition, and executing S103 if it does not satisfy the iteration termination condition, and outputting an optimized sample transmission function and an optimized electron beam function if it satisfies the iteration termination condition; The loss function is: Where j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exit is the outgoing wave function; The exit wave function ψ exit for: Where P(r) is the electron beam function, P(rr j ) is the electron beam scanned to the jth position, represents the Fresnel diffraction factor, O l (r) is the sample transmission function of layer l; The sample transmission function O l (r) is: Among them, V l (r) is the projection potential of the transmission function of the lth layer, Amp l (r) is the amplitude of the transmission function of the lth layer, Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the first electron layer, s l (r) is represented by the local function of the Gaussian function: The electron beam function P(r) is: Among them, A(k) is the aperture function, C n,m is the Zernike coefficient, X(k) is the aberration function, R{·} represents the real part of the matrix in brackets, and the content in {·} represents multiple Zernike coefficients.

2. The method according to claim 1, characterized in that The constructing of the sample transmission function and the electron beam function comprises: Describing the sample transmission function using a local function of the electron orbital spatial distribution; The electron beam function is described using an aberration function corresponding to the Zernike coefficients.

3. The method according to claim 2, characterized in that Before constructing the sample transmission function and the electron beam function, it also includes: Initialize the parameters to be optimized in the sample transmission function and the electron beam function, wherein the parameters to be optimized in the electron beam function include Zernike coefficients, and the parameters to be optimized in the sample transmission function include atomic positions and parameters describing the spatial distribution of electron orbits.

4. The method according to any one of claims 1 to 3, characterized in that: The iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

5. A device for reconstructing the spatial distribution of electron orbits and electron beam functions, characterized in that: include: An acquisition module, used for controlling the mobile electron beam to scan the sample and acquiring the diffraction intensity at each scanning position of the sample; A construction module is used to construct a sample transmission function and an electron beam function, establish a forward propagation model including parameters to be optimized according to the diffraction intensity, the sample transmission function and the electron beam function, and calculate a loss function value; An optimization module is used to solve the derivative of the loss function with respect to the parameter to be optimized, obtain the gradient of the parameter to be optimized in the sample transmission function and the electron beam function, optimize the parameter to be optimized according to the gradient, and update the loss function value, repeat the iterative process until the iteration termination condition is met, and output the optimized sample transmission function and the optimized electron beam function; The loss function is: Where j represents the serial number of the scanning position, u and v are the coordinates in the real space, and |·| represents the modulus of each element in the matrix. represents the two-dimensional Fourier transform of the calculation matrix, I j is the diffraction intensity, ψ exit is the outgoing wave function; The exit wave function ψ exit for: Where P(r) is the electron beam function, P(rr j ) is the electron beam scanned to the jth position, represents the Fresnel diffraction factor, O l (r) is the sample transmission function of layer l; The sample transmission function O l (r) is: Among them, V l (r) is the projection potential of the transmission function of the lth layer, Amp l (r) is the amplitude of the transmission function of the lth layer, Among them, s l (r) represents the s orbital space distribution of the first layer of electrons, p l (r) represents the p-orbital spatial distribution of the first electron layer, s l (r) is represented by the local function of the Gaussian function: The electron beam function P(r) is: Among them, A(k) is the aperture function, C n,m is the Zernike coefficient, χ(k) is the aberration function, R{·} represents the real part of the matrix in brackets, and the content in {·} represents multiple Zernike coefficients.

6. The device according to claim 5, characterized in that The constructing of the sample transmission function and the electron beam function comprises: Describing the sample transmission function using a local function of the electron orbital spatial distribution; The electron beam function is described using an aberration function corresponding to the Zernike coefficients.

7. The device according to claim 6, characterized in that Also includes: An initialization module is used to initialize the parameters to be optimized in the sample transmission function and the electron beam function before constructing the sample transmission function and the electron beam function, the parameters to be optimized in the electron beam function include Zernike coefficients, and the parameters to be optimized in the sample transmission function include atomic positions and parameters describing the spatial distribution of electron orbits.

8. The device according to any one of claims 5 to 7, characterized in that: The iteration termination condition includes: the number of iterations reaches a preset threshold; and / or the loss function converges to a preset value.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for reconstructing the electron orbital spatial distribution and the electron beam function as described in any one of claims 1 to 4.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method for reconstructing the electron orbital spatial distribution and the electron beam function as claimed in any one of claims 1 to 4.