COMPUTER-IMPLEMENTED METHOD FOR GENERATING EVENT-AVERAGED AND TIME-RESOLVED SPECTRA
20230314351 · 2023-10-05
Assignee
Inventors
Cpc classification
G01N23/2273
PHYSICS
International classification
Abstract
A computer-implemented method is described for generating event-averaged and time-resolved spectra, from a plurality of time-resolved spectra of charged particles emitted from a surface (3) of a sample (2), at which surface (3) an event is repeated cyclically, the method comprising the steps of receiving (101), from the charged particle analyser (1), the plurality of time-resolved spectra covering a plurality of events, obtaining (102) at least one selected part (9, 10) of the series of time-resolved spectra, matching (103) the at least one selected part (9, 10) with other parts of the series of time-resolved spectra to find similar parts, and thereby determining points in time for other events in the plurality of events, and generating (104) the event-averaged and time-resolved spectra of the event based on the series of time-resolved charged particle energy spectra and the determined points in time.
Claims
1. A computer-implemented method for generating event-averaged and time-resolved spectra, from a plurality of time-resolved spectra of charged particles emitted from a surface of a sample, at which surface an event is repeated cyclically, wherein the plurality of time-resolved spectra are obtained with a charged particle analyser, the method comprising the steps of receiving, from the charged particle analyser, the plurality of time-resolved spectra covering a plurality of events, wherein the time between events adjacent in time defines a time period, and wherein each of the plurality of time-resolved spectra comprises information on the distribution of charged particles as a function of a physical property for an interval of magnitudes for the physical property, characterized in that it also comprises the steps of obtaining at least one selected part of the series of time-resolved spectra, wherein the at least one selected part comprises spectra from at least a part of the interval of magnitudes for the physical property and a part of a time period when the event takes place, matching the at least one selected part with other parts of the series of time-resolved spectra to find similar parts, and thereby determining points in time for other events in the plurality of events, and generating the event-averaged and time-resolved spectra of the event based on the series of time-resolved charged particle energy spectra and the determined points in time.
2. The computer-implemented method according to claim 1, wherein the at least one selected part is obtained based on data input by a user.
3. The computer-implemented method according to claim 1, wherein the at least one selected part is obtained during reception of the series of time-resolved spectra, wherein the matching is started during reception of the series of time-resolved spectra and wherein the event-averaged and time-resolved spectra is generated during reception of the series of time-resolved spectra.
4. The computer-implemented method according to claim 1, wherein the generation of the event-averaged and time-resolved spectra is ended when an end condition is fulfilled, wherein the end condition is one of: reception of an end input signal, and a signal quality measure of the event-averaged time-resolved spectra being better than a predetermined value.
5. The computer-implemented method according to claim 4, wherein the end condition is that the signal-to-noise ratio is above a predetermined threshold.
6. The computer-implemented method according to claim 1, also comprising the step of sending out control signals for controlling the cycling of the events.
7. The computer-implemented method according to claim 6, wherein the control signals control at least one of: a gas mixture at the surface, a gas pressure at the surface, a temperature at the surface, an electromagnetic field at the surface, an optical field incident on the surface and a gas temperature at the surface.
8. The computer-implemented method according to claim 1, wherein the plurality of time-resolved spectra comprises a plurality of data points, and wherein the matching is performed by subtracting, the data in each data point in the selected part from the data in the corresponding data points in other parts of the series of time-resolved spectra and adding the differences, to obtain a result as a function of point in time for the other part of the series, and determining the points in time for the other events by finding minima in the obtained result.
9. The computer-implemented method according to claim 8, wherein the matching comprises fitting a polynomial to the sum of the differences between the other parts of the series and the selected part to obtain the timings of the events.
10. The computer-implemented method according to claim 8, wherein events are used in the generation of the event-averaged and time-resolved spectra only if the minima for the events are below a predetermined threshold.
11. The computer-implemented method according to claim 1, wherein the matching is performed by convolution of the selected part with other parts of the series of time-resolved spectra, to obtain a result as a function of point in time for the other part of the series, and determining the points in time for the other events by finding maxima in the obtained result.
12. The computer-implemented method according to claim 11, wherein the matching comprises fitting a polynomial to the convolution of the selected part with other parts of the series of time-resolved spectra to obtain the result.
13. The computer-implemented method according to claim 1, wherein the physical property is one of a starting angle for the charged particle, the energy of the charged particle and a starting position for the charged particle.
14. A computer program for generating event-averaged and time-resolved spectra, comprising instructions which, when executed by at least one processor in a computer cause the computer to carry out the method according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
DETAILED DESCRIPTION
[0038] The invention is described in the following illustrative and non-limiting detailed description of exemplary embodiments, with reference to the appended drawings. In the drawings, similar features in different drawings are denoted by the same reference numerals. The drawings are not drawn to scale.
[0039]
[0040] We will now describe the study of a process of carbon dioxide (CO) adsorption on a surface and the opposite process of CO desorption. The gas composition in the gas cell 5 is repeatedly switched by alternating pulses of CO rich (45 sec duration of 2.7:1 CO:O.sub.2) and O.sub.2 rich (100 sec duration of 1:2.7 CO:O.sub.2) gas mixtures. While the gas composition alternates between CO rich and O.sub.2 rich gas mixtures electromagnetic radiation in the form of X-rays illuminates the surface 3 of the sample 2 which induces emission of photo-electrons from the surface 3 of the sample 2. Some of the photoelectrons that are emitted from the surface 3 enters the charged particle analyser 1 and are analysed with respect to their kinetic energy, such that a spectrum is captured. Spectra are collected continuously with a high framerate or acquisition rate of about 1-50 Hz. The detector may be a camera detector, a delay-line detector or a pulse counting detector. These different types of detectors are well known to persons skilled in the art and will not here be explained in more detail.
[0041]
[0042]
[0043] As stated above the physical property could alternatively be the temperature of the sample or the gas pressure. The gas pressure or temperature could be changed within an interval, preferably two different values.
[0044] At the bottom of
[0045] The method according to the invention will now be described with reference also to
[0046] As an alternative to the binding energy the physical property may be, e.g., one of a starting angle for the charged particle, the energy of the charged particle and a starting position for the charged particle.
[0047] The series of time-resolved spectra shown in
[0048] In the second step 102 at least one selected part 9 of the series of time-resolved spectra is obtained. The selected part may be obtained based on user input but may alternatively be obtained automatically. In
[0049] In a third step 103 the first selected part 9 and the second selected part 10 are matched with other parts of the series of time-resolved spectra to find similar parts, and thereby determining points in time for other events in the plurality of events. Each one of the first selected part 9 and the second selected part 10 comprise a number of pixels/data points 15.
[0050] In order to match the first selected part 9 and the second selected part 10 with similar parts of the acquisition matrix, each one of the first selected part 9 and the second selected part 10 is displaced forward in single pixel steps in the time direction of the acquisition matrix, i.e., one spectra in the time direction to a new comparison part of the acquisition matrix. For each pixel displacement the integral over the absolute difference between the intensity of each data point in the selected part and the intensity of the corresponding pixel in the comparison part is determined.
[0051] Once the first selected part 9 is placed above the same spectral fingerprint of a transition happening on the surface it will result in a minimum of the integral value—i.e. a match is found. A match is found for the first selected part 9 when the first selected part 9 is compared with the first match part 9′ and the second match part 9″. A match is found for the second selected part 10 when the second selected part 10 is compared with the third match part 10′ and the fourth match part 10″. The integral value as a function of pixel offset is shown in
[0052] An appropriate function is fitted to each minimum to determine the minimum point as precise as possible. This procedure leads to a table of timing signals that defines the transition to a CO covered surface.
[0053] The result is a table with the exact times for the forward switching events to a CO covered surface and one table with the exact times for the backward switching event when CO desorbs. Based on the exact times the spectra from different events may be accurately event-averaged. After having determined the exact times for the forward switching and the backward switching events forward merging parts 19, 19′, 19″ and backward merging parts 20, 20′, 20″, are cut from the acquisition matrix and are event-averaged. Even if there is a jitter in the timing for the event a correct event averaging is achieved.
[0054]
[0055] Based on the determined timing for the events the forward merging parts 19, 19′, 19″ and the backward merging parts 20, 20′, 20″, are cut from the acquisition matrix and are event-averaged to generate, in a fourth step 104, the image of
[0056] In order to optimize the quality of the event-averaged image of multiple merged spectra not all events need to be used in the averaging. A threshold Th may be applied to the curve in
[0057] The at least one selected part may be obtained during reception of the series of time-resolved spectra. By arranging the computer-implemented method in this way the matching may start during reception of the series of time-resolved spectra and the event-averaged and time-resolved spectra may be generated during reception of the series of time-resolved spectra. This makes it possible to study the generation of the event-averaged image of multiple merged spectra or the event-averaged and time-resolved spectrum as shown in
[0058] The above described embodiments may be altered in many ways without departing from the scope of the invention which is limited only by means of the appended claims and their limitations.