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

ViPErLEED package II: Spot tracking, extraction, and processing of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>I</mml:mi><mml:mo>(</mml:mo><mml:mi>V</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math> curves

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Michael Schmid — Institute of Applied Physics, TU Wien, A-1040 Wienna, Austria
  2. Florian Kraushofer — Institute of Applied Physics, TU Wien, A-1040 Wienna, Austria|||Technical University of Munich
  3. Alexander M. Imre — Institute of Applied Physics, TU Wien, A-1040 Wienna, Austria
  4. Tilman Kißlinger — Friedrich-Alexander-Universität Erlangen-Nürnberg
  5. Lutz Hammer — Friedrich-Alexander-Universität Erlangen-Nürnberg
  6. Ulrike Diebold — Institute of Applied Physics, TU Wien, A-1040 Wienna, Austria
  7. Michele Riva — Institute of Applied Physics, TU Wien, A-1040 Wienna, Austria
DOI
10.1103/physrevresearch.7.013006
저널
Physical Review Research
발행년도
2025
발행기관
American Physical Society
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1103/physrevresearch.7.013006
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4406049073

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

As part of the Vienna package for Erlangen LEED, low-energy electron diffraction (ViPErLEED) project, computer programs have been developed for facile and user-friendly data extraction from movies of LEED images. The programs make use of some concepts from astronomical image processing and analysis. As a first step, flat-field and dark-frame corrections reduce the effects of inhomogeneities of the camera and screen. In a second step, for identifying all diffraction maxima (“spots”), it is sufficient to manually mark and label a single spot or very few spots. Then the program can automatically identify all other spots and determine the distortions of the image. This forms the basis for automatic spot tracking (i.e., following the spots as they move across the LEED screen) and intensity measurement. Even for complex structures with hundreds to a few thousand diffraction beams, this step takes less than a minute. The package also includes a program for further processing of these <a:math xmlns:a="http://www.w3.org/1998/Math/MathML"><a:mrow><a:mi>I</a:mi><a:mo>(</a:mo><a:mi>V</a:mi><a:mo>)</a:mo></a:mrow></a:math> curves (averaging of equivalent beams, manual and/or automatic selection, smoothing) as well as several utilities. The software is implemented as a set of plugins for the public-domain image processing program and provided as an open-source package. Published by the American Physical Society 2025

본문 95,030자

본문 펼치기
ViPErLEED package II: Spot tracking, extraction and processing of _I_ ( _V_ ) curves Michael Schmid, <sup>1</sup> Florian Kraushofer, <sup>1, 2</sup> Alexander M. Imre, <sup>1</sup> Tilman Kißlinger, <sup>3</sup> Lutz Hammer, <sup>3</sup> Ulrike Diebold, <sup>1</sup> and Michele Riva <sup>1</sup> 1 _Institute_ _of_ _Applied_ _Physics,_ _TU_ _Wien,_ _Vienna,_ _Austria_ 2 _Department_ _of_ _Chemistry,_ _TUM_ _School_ _of_ _Natural_ _Sciences,_ _Technical_ _University_ _of_ _Munich,_ _D-85748_ _Garching_ _bei_ _M¨unchen,_ _Germany_ 3 _Solid_ _State_ _Physics,_ _Friedrich-Alexander-Universit¨at_ _Erlangen-N¨urnberg,_ _Erlangen,_ _Germany_ (Dated: June 27, 2024) As part of the ViPErLEED project (Vienna package for Erlangen LEED, low-energy electron diffraction), computer programs have been developed for facile and user-friendly data extraction from movies of LEED images. The programs make use of some concepts from astronomical image processing and analysis. As a first step, flat-field and dark-frame corrections reduce the effects of inhomogeneities of the camera and screen. In a second step, for identifying all diffraction maxima (“spots”), it is sufficient to manually mark and label a single spot or very few spots. Then the program can automatically identify all other spots and determine the distortions of the image. This forms the basis for automatic spot tracking (following the “beams” as they move across the LEED screen) and intensity measurement. Even for complex structures with hundreds to a few thousand diffraction beams, this step takes less than a minute. The package also includes a program for further processing of these _I_ ( _V_ ) curves (averaging of equivalent beams, manual and/or automatic selection, smoothing) as well as several utilities. The software is implemented as a set of plugins for the public-domain image processing program ImageJ and provided as an open-source package. I. INTRODUCTION Analysis of energy-dependent low-energy electron diffraction intensities [LEED _I_ ( _V_ ) data, also named _I_ ( _E_ )] is the oldest technique for obtaining high-accuracy data in surface crystallography and has the advantage that it requires rather simple instrumentation (LEED optics), which is available in many ultrahigh-vacuum surface science systems [1–6]. LEED _I_ ( _V_ ) analysis is based on the comparison of calculated diffraction intensities _I_ as a function of the kinetic energy _E_ of the electrons (or acceleration voltage _V_ ) with the experimental ones. The agreement between calculated and experimental _I_ ( _V_ ) curves is described by an _R_ factor, such as Pendry’s _R_ factor _R_ P [7], which takes values between 0 for perfect agreement and 1 for uncorrelated curves. (Higher values up to 2 can in principle occur for anti-correlated curves, but are rare.) In most LEED _I_ ( _V_ ) studies, symmetry-equivalent beams are averaged [8]. The sum of the energy ranges of all the resulting inequivalent beams that enter the analysis is usually named the size of the experimental database. It is well known that care must be taken to provide a sufficiently large experimental database for the structure search. Increasing the size of the experimental data base lowers the risk of the structural analysis becoming stuck in a local minimum of the _R_ factor, improves the accuracy, and increases the trustworthiness of the final result [9, 10]. For obtaining a large database, it is desirable to obtain intensity data with sufficient quality not only for bright spots but also for the weak ones. Therefore, a major goal of both the data acquisition and the analysis should be minimizing the noise. Acquisition and analysis of experimental LEED _I_ ( _V_ ) data is not only useful for structure determination. _I_ ( _V_ ) curves are also valuable as fingerprints of structures, especially in cases where different surface structures share the same qualitative appearance of the LEED pattern. This is the case, for instance, if two different terminations of the same bulk crystal have a (1 _×_ 1) LEED pattern, or two different adsorbate coverages lead to the same superstructure. In such a case, LEED _I_ ( _V_ ) data can verify that a surface preparation can be reproduced. This is useful if other methods to distinguish these two structures are not available in a given vacuum system, or these other methods are not sensitive enough to detect the difference. The ViPErLEED (Vienna Package for Erlangen LEED) project aims at drastically reducing the effort for LEED _I_ ( _V_ ) studies, both on the computational and on the experimental side. The package consists of (i) hardware and software for data acquisition [11], (ii) software for extracting _I_ ( _V_ ) curves from the experimental data, as well as (iii) software for calculation of _I_ ( _V_ ) curves for a given structure and structure optimization, by minimizing the difference between the calculated and experimental _I_ ( _V_ ) data [12]. Part (ii) is the topic of this paper. Experimentally, _I_ ( _V_ ) curves are obtained by acquiring images of the LEED screen with a digital camera for a range of energies (usually, several hundred electronvolts, with 0.5 or 1 eV steps). This results in so-called LEED movies, where the diffraction maxima (the “spots”) move radially, in the ideal case <u>with</u> a distance from the (0,0) _√_ spot proportional to 1 _/_ _E_ . These LEED movies are pro cessed by following the motion of the diffraction maxima with energy (spot tracking) and evaluation of the intensity of each diffraction maximum (each “beam”) as a function of energy - the _I_ ( _V_ ) curves. For other types of LEED investigations, it is also useful to determine the beam intensities over time or temperature at a fixed en ergy (e.g., for studying phase transitions); a program for the analysis of LEED intensities should also provide this option. Commercial programs for extraction of _I_ ( _V_ ) curves from LEED movies usually require selecting each diffraction maximum manually and are often restricted to rectangular regions of interest (ROIs) for intensity integration. Integer ROI coordinates can also lead to jumps of the measured intensity when the ROI moves by a single pixel. Some older programs are also restricted to 8-bit images, and do not take advantage of the high dynamic range of modern cameras (in our experience, about 13– 14 bits with the Sony IMX174 sensor and 2 _×_ 2 binning of pixels). Among developments by scientific groups, the EasyLEED program by Mayer _et_ _al._ [13, 14] is probably the most suitable development in this field. It is based on a Kalman filter for spot tracking and fitting Gaussians for intensity measurement. This open-source program requires manually selecting each diffraction maximum for measurement, which is a time-consuming and potentially error-prone task in the case of complex superstructures. The work of Sojka _et_ _al._ [15–17] is based on carefully modeling the relation between the reciprocal lattice and the position on the LEED screen. After a manual step of roughly superimposing the experimentally measured and ideal lattice, this makes it possible to automatically assign ( _h, k_ ) indices to each spot. While this program is mainly motivated by the desire for accurate measurements of positions in reciprocal space, it could also be extended for _I_ ( _V_ ) measurements. To our knowledge, though, currently no full solution for _I_ ( _V_ ) curve extraction based on this program is available. One problem in obtaining high-quality LEED _I_ ( _V_ ) data comes from the grids of the LEED optics. There are at least two grids, a grounded grid facing the sample and a suppressor grid at negative voltage that repels electrons that have undergone substantial energy losses by inelastic scattering. It is more common to have three grids, and four grids are used in LEED optics that also serve as retarding-field analyzers [6]. The grids absorb diffracted electrons hitting a grid wire, and moir´e effects can occur from the stacking of differently rotated grids, which results in a spatially inhomogeneous transmission. In addition, further inhomogeneities can result from particles on the grids and dust particles on the camera sensor. In MCP (microchannel plate)-LEED systems, the MCP contributes to the inhomogeneous response. The grids also slightly deflect the electrons, which further complicates the problem. The current work shows how these issues can be mitigated by suitable calibration images (dark screen, flat field). Our set of programs was written with the aims of (i) making the extraction of _I_ ( _V_ ) curves as user-friendly as possible, and (ii) obtaining the best data quality with respect to noise and artifacts. The program package is written in Java and based on the public-domain image processing program ImageJ [18], which ensures good performance and operation on all major operating sys tems (Windows, Linux and MacOS). Details on the installation and use of the programs are provided in the Supplemental Material [19]; updates will be published on GitHub [20]. II. PROGRAM DESCRIPTION A. Data input _Input_ _files_ - The main ImageJ plugin is the _Spot_ _Tracker_ (Fig. 1). The main input are LEED movies (named _image_ _stacks_ in ImageJ); these can be opened by appropriate ImageJ commands ( `File` _>_ `Open` or `File` _>_ `Import` _>_ `Image` `Sequence` ), thus any image format that can be read by ImageJ or one of its plugins can be used. The plugin package can also open `.zip` archives (containing images and an index file with the list of images and metadata) created by the ViPErLEED data acquisition [11], as well as `.vid` files of the “AIDA” (Automatic Image and Data Acquisition) EE2000/EE2010 program [21]. For these formats, the metadata such as energy, time, beam current _I_ 0 and additional analog input channels are also read. When reading a collection of single images with `File` _>_ `Import` _>_ `Image` `Sequence`, these data can be decoded from the file names. The “Set Energies I0, t” button of the spot tracker panel also includes an option to enter these values as a linear function or read them from an ImageJ table. (In ImageJ, opening a comma- or tab-delimited file, `.csv` or `.tsv`, creates a table). It is also possible to specify an independent variable other than the energy. This is useful for intensity measurements during a phase transition as a function of time or temperature, at fixed energy. _The_ _mask_ - The spot tracker requires that the user provides a _mask_, which is an image that defines the usable area of the LEED screen [Fig. 1(f)]. This is a binary image, implemented in ImageJ as an 8-bit image with only two different pixel values occurring: 255 (black) for the foreground (usable) area and 0 (white) for the unused area. A utility for creation of such an image is available via the “More _≫_ ” button of the spot-tracker panel. The standard ImageJ selection and image-modification commands can be used to edit the mask. B. Dark-frame and flat-field correction The spot tracker has provisions for dark-frame and flat-field correction of the LEED images, which can substantially improve the data quality. These corrections are standard in astronomical image processing [23] and in some applications of light microscopy, but not widely used in the LEED community. The aim of these corrections is reducing the effect of inhomogeneities of the LEED optics (grids, and microchannel plate, if any) and camera as well as subtracting background illumination, for instance, from the filament of the electron source. In (a) (b) (c) (g) (d) (e) (f) FIG. 1. The graphical user interface of the ViPErLEED spot tracker (here under a Linux operating system), with (a) the input image stack, (b) the processed stack after dark-frame and flat-field correction, and (c) the main spot-tracker panel. The image stacks (d) and (e) are the dark frames and flat field, respectively, (f) is the mask of the usable screen area [also visible as orange outline in (b)], and (g) is a plot of the raw and smoothed beam current _I_ 0 (available via the “Set Energies, I0, t” button; the _I_ 00 line is invisible because it coincides with the _x_ axis _~~√~~_ at this scale). The red item in (c) indicates that user input is required. In (a) and (b), the LEED images of the Cu(111)-(5 _×_ 3rect)-4Te structure [22] are displayed with high contrast, leading to saturation of the bright spots. The magnified and contrast-enhanced insets in (a) and (b) show the improvement of the background uniformity with the dark-frame and flat-field correction. the standard method, intensities are corrected pixel by pixel, _I_ corr = <sup>_<u>I</u>_</sup> <sup><u>main</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>I</u>_</sup> <sup><u>dark</u></sup> _I_ flat _−_ _I_ dark _,_ (1) [such as the bright spots in Fig. 1(d)], which will be subtracted by this procedure. When recording a full movie of energy-dependent dark frames and the LEED electronics provide a beam current ( _I_ 0) output, the _I_ 0 measurement acquired with this movie conveniently provides the energy-dependent offset _I_ 00 of the beam current (cf. Sec. II H). For obtaining a _flat_ _field_, one should have uniform illumination of the LEED screen with electrons coming from the same position as the reflected electrons forming the usual LEED image. This is not easy to achieve. The best option we found is placing a polycrystalline surface (e.g., the sample holder [24]) acting as a diffuse scatterer at the same position as the sample [25]. The distance from the electron source to the surface must be the same for the main LEED _I_ ( _V_ ) movie and the flat field. In other words, both, the sample and the polycrystalline surface must be exactly in the same plane for the respective measurements. Since the flat-field intensity is spread out over the whole screen, the flat-field images taken with the same settings as the main _I_ ( _V_ ) movie of the sample might be rather noisy due to low inten where _I_ main is the pixel intensity of the LEED image with the diffraction pattern and _I_ dark is the pixel intensity of a dark frame. The dark frame is an image obtained without electrons reflected at the sample. _I_ flat is the pixel intensity of the flat field, which is an image with uniform illumination. The _dark frame_ is best obtained with the same filament current and screen voltage as the main image, but with a highly negative Wehnelt voltage to suppress all electrons. All other settings (exposure time, camera gain) should be the same as for the main LEED images. This ensures that the intensity of any stray light of the filament is the same for both the main LEED images and the dark frames, and, hence, this background intensity will be subtracted (together with the dark current of the camera). In some cases, there can be also a background due to field-emitted electrons from asperities on a grid sity. In that case, one may use a higher beam current and/or longer exposure times than for the main _I_ ( _V_ ) movie to ensure a sufficiently high intensity. Obtaining flat fields from a polycrystalline surface has the problem of angle-dependent scattering, typically with a maximum at 180 <sup>_◦_</sup> scattering angle (backscattering); see Fig. 1(e) for an example. Thus, the correction in equation (1) would introduce a bias, attenuating diffraction intensities near the center compared with those at the periphery. For standard LEED _I_ ( _V_ ) experiments, this will also lead to an apparent decrease of intensity towards high energies, because the beams move inwards. We therefore use a modified correction �� _<u>I</u>_ <u>flat</u> _<u>−</u>_ _<u>I</u>_ <u>dark2</u> _I_ corr = ( _I_ main _−_ _I_ dark) exp( <sup><u>�</u></sup> _aijx_ <sup>_i_</sup> _y_ <sup>_j_</sup> ) _,_ (2) flat-field intensity, the ( _I_ dark2-corrected) flat field should be normalized, to avoid influencing the _I_ ( _V_ ) data by the energy dependence of the diffuse backscattering, which creates the dark-field images. In our experience, the dark-frame/flat-field correction has a profound impact on the data quality. This is especially true for LEED measurements with the sample at room temperature, where the background from scattering by phonons is high and therefore its variations due to the grid wires and other inhomogeneities of the grids are clearly visible. The improvement of the background uniformity is also evident in LEED movies recorded at low temperature, where the background is low [compare the insets in Figs. 1(a) and 1(b)]. The correction especially improves the quality of the _I_ ( _V_ ) curves of weak spots, where the background fluctuations have a comparably strong impact on the intensity measurements. Unfortunately, the correction cannot fully eliminate the influence of the grids on the beam intensities: The electrons get deflected by the lateral electric-field components of the suppressor grid: the grid meshes act similarly to electrostatic lenses. Since the flat-field correction is based on the position of the diffracted beam on the screen (recorded by the camera), which can deviate from the original direction of the diffracted electrons before they reach the grids, the flat-field intensity distribution at the screen cannot accurately describe intensity variations depending on where the electrons reach the grid. This is mainly a problem with highly focused beams (very sharp spots). The intensity noise caused by the modulation by the grids can be reduced by slightly defocusing the electron beam. This is only possible if the spots are sufficiently far apart for accurate determination of the background (see Sec. II D), and the background of inelastically scattered electrons is low. (Otherwise, weak, smeared-out spots will not stand out high enough over the background.) A further method to reduce the noise due to the grid structure is averaging LEED _I_ ( _V_ ) curves obtained from movies with slightly different azimuthal rotation of the sample (if the sample manipulator allows this) or slightly different distance to the sample (1–2 mm shift is sufficient; in this case also a flat field should be recorded for each distance). The flat-field correction also increases the usable screen area near the electron source. Since camera lenses with a large aperture are required for good photon collection efficiency, the outline of the electron source appears blurred in the images because it is out of focus [Fig. 1(a)]. The flat-field correction compensates for the reduced intensity recorded where the screen is partly hidden by the electron source. Thus the mask of usable screen area (see below) can extend closer to the edge of the electron source than without flat-field correction, and the usable energy range of spots disappearing behind the electron source is extended. _Implementation_ _notes_ - All operations on the input image stacks are implemented as ImageJ `VirtualStack` s, which means that the processed images are not necessarily kept in memory but rather read from where the polynomial <sup>�</sup> _aijx_ <sup>_i_</sup> _y_ <sup>_j_</sup> is a fit to the logarithm of the background-corrected _I_ flat _−_ _I_ dark2 values inside the area defined by the mask. A second-order polynomial would correspond to a 2D Gaussian distribution of the flat-field intensity; typically, we use a 4th-order polynomial for better uniformity of the flat-field correction while still maintaining the high spatial frequencies of the inhomogeneities. As the fit is done in the logarithmic domain we use fit weights proportional to the _I_ flat _−_ _I_ dark2 value; otherwise low values would gain too much weight (especially if the logarithm is highly negative). The flatfield images should have sufficient brightness to ensure low noise; therefore, as mentioned above, the camera settings (gain, exposure time) for recording the flat field might be different from those used for the main LEED movie. In such a case, it will be necessary to obtain a separate set of dark frames with these settings, different from the dark frames for the main _I_ ( _V_ ) movie. This is indicated by the “2” in _I_ dark2. If the same camera settings are used for the main _I_ ( _V_ ) movie and for the flat field, the same dark frame(s) can be selected for both (i.e., _I_ dark2 = _I_ dark). The dark frames depend at most weakly on the beam energy. (A weak dependence is possible if field emission from the last grid to the screen causes a background intensity and the voltage between the grid and screen varies with the beam energy.) If the dark frames are energy-independent, it is enough to average over a few dark-frame images to reduce the noise; otherwise a linear fit of each pixel intensity over energy is usually sufficient. These options are accessible via the “Dark&Flat Processing” button of the spot tracker. In the flat-field images, as mentioned above, the intensity is spread out over the whole screen, which leads to an intensity below that of the spots in the main LEED _I_ ( _V_ ) movie, and, hence, higher noise. Therefore, noise reduction should be applied by smoothing the pixel intensity vs. energy; also this function is available in the “Dark&Flat Processing” options. It requires that the flat fields are acquired as an image stack with the same energy steps as the main LEED image stack. When using energy-dependent flat fields, but not a 2D fit for the disk and calculated on the fly as required. Only the final result _I_ corr is cached in memory as long as there is enough RAM (using the Java `SoftReference` mechanism and prefetching). This ensures that even very large image stacks can be handled while good performance is achieved when there is sufficient memory. C. Distortion correction for identification of the spots _Polynomial_ _fits_ - A LEED pattern is essentially a 2D map of the reciprocal space, with some distortions that come from various sources: The point where the incident beam hits the sample may not exactly coincide with the center of curvature of the LEED grids and screen, the camera is not at infinite distance and not necessarily aligned with the axis of the incident electron beam, the grids and/or screen may deviate from the ideal spherical-cap shape, there may be residual electric and magnetic fields, and the sample may be tilted. Some of these sources of distortions should be clearly minimized when acquiring LEED _I_ ( _V_ ) data. (Usually normal incidence of the electrons on the sample is desired, and stray fields must be avoided.) Nevertheless, it is not possible to avoid all sources of distortion. Many sources of distortion can be modelled [15, 16], but this is rather cumbersome for the general case. Therefore, we took a more simplistic approach: We fit the pixel coordinates _x, y_ with a polynomial function of the reciprocal-space coordinates _kx, ky_, _y_ <sup>_j_</sup> <sup>_._</sup> (3) _y_ <sup>_j_</sup> <sup>_,_</sup> _y_ = _x_ = _i,j_ ; _i_ + _j≤N_ _aijkx_ <sup>_i_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> fewer fit parameters (10 and 24) than the full third- and fifth-order polynomial fits (20 and 42 parameters, respectively), thus they do not require as many spots as the full third- and fifth-order polynomials in Eq. 3. _The_ _spot_ _pattern_ _file_ - Correlating the spots on the screen and the reciprocal-space coordinates requires a list of beams for the structure. This list must be provided as a _spot_ _pattern_ _file_ . For each beam, it lists the designation and the indices _h_ and _k_, the Cartesian reciprocal-space coordinates _gx, gy_ (in arbitrary units) and a beam-group index (symmetry-equivalent beams belong to the same group). This file can be created with the LEED pattern simulator of the ViPErLEED GUI, supplied with the ViPErLEED data acquisition [11]. There, the lattice and overlayer symmetry can be entered manually or taken from the output of the ViPErLEED simulation program [12] ( `experiment-symmetry.ini` file). _Identification_ _of_ _the_ _spots_ - In practice, for determination of the fit coefficients of Eq. (3), the user has to select an energy where many spots can be seen, preferably including spots near the edges in many different directions from the center. To aid this procedure, spots with sufficient brightness are marked by circles after pressing the “Set Indices” button. The spots are found as local maxima with a threshold (for noise suppression), based on the `Find` `Maxima` function of ImageJ, and their positions are refined as described in Sec. II D. In the next step, the user has to select one of these spots and enter its ( _h, k_ ) indices. If only one spot is known, the program will assume that the (0,0) spot is in the center of the screen (given by the bounding box of the mask area described above) and search for additional spots, starting with those closest in reciprocal space to the initial spots. At first, a purely linear relationship will be tried. Whenever a new spot has been identified, the fit in Eq. (3) is repeated with the new spot included. If there are enough spots for obtaining higher-order polynomial coefficients, the program attempts fitting with a higher-order polynomial [including the functions in eqs. (4) and (5); in the sequence of increasing number of fit parameters] and uses the higher order if the goodness of fit improves (taking into account that a larger number of fit parameters will reduce the residuals). Since the polynomials in Eq. (3) are not necessarily monotonic, it can happen that the polynomials map highorder spots far outside the screen (or even non-existent at a given energy) to a position inside the LEED screen. If such a position happens to coincide with a lower-order spot (or a defect of the screen that is mistaken as a spot), this will cause misidentification of that spot (or defect). The program therefore contains provisions to discard the calculated positions in such a case: A spot position obtained from Eq. (3) is accepted only if the nonlinear terms in the polynomial do not “deflect” the direction of spot motion with increasing energy by more than 30 <sup>_◦_</sup> (with respect to the direction calculated from the linear terms). This prevents misidentification of spots in cases where the calculated position folds back to the _i,j_ ; _i_ + _j≤N_ _bijkx_ <sup>_i_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> The polynomial order _N_ is chosen adaptively (see below); the maximum order supported is 5 <sup>th</sup> order. In addition to polynomials with all coefficients up to a given order, the program also includes models where the highest-order terms only depend on the reciprocal-space distance from the (0,0) spot, but other high-order coefficients are left out: _y_ <sup>_j_</sup> <sup>+ (</sup> <sup>_k_</sup> _x_ <sup>2</sup> _x_ <sup>2</sup> <sup>+</sup> <sup>_k_</sup> _y_ <sup>2</sup> _y_ <sup>2)(</sup> <sup>_a_</sup> <sup>rx</sup> <sup>_kx_</sup> <sup>+</sup> <sup>_a_</sup> <sup>ry</sup> <sup>_ky_</sup> <sup>)</sup> _x_ = _y_ = and _x_ = _y_ = _i,j_ ; _i_ + _j≤_ 1 _i,j_ ; _i_ + _j≤_ 1 _i,j_ ; _i_ + _j≤_ 3 _i,j_ ; _i_ + _j≤_ 3 _aijkx_ <sup>_i_</sup> _bijkx_ <sup>_i_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> _bijkx_ <sup>_i_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> _y_ <sup>_j_</sup> <sup>+ (</sup> <sup>_k_</sup> _x_ <sup>2</sup> _x_ <sup>2</sup> <sup>+</sup> <sup>_k_</sup> _y_ <sup>2</sup> _y_ <sup>2)(</sup> <sup>_b_</sup> <sup>rx</sup> <sup>_kx_</sup> <sup>+</sup> <sup>_b_</sup> <sup>ry</sup> <sup>_ky_</sup> <sup>)</sup> <sup>_,_</sup> (4) _aijkx_ <sup>_i_</sup> _x_ <sup>_i_</sup> <sup>_k_</sup> _y_ <sup>_j_</sup> _y_ <sup>_j_</sup> <sup>+ (</sup> <sup>_k_</sup> _x_ <sup>2</sup> _x_ <sup>2</sup> <sup>+</sup> <sup>_k_</sup> _y_ <sup>2</sup> _y_ <sup>2)2(</sup> <sup>_a_</sup> <sup>rx</sup> <sup>_kx_</sup> <sup>+</sup> <sup>_a_</sup> <sup>ry</sup> <sup>_ky_</sup> <sup>)</sup> _y_ <sup>_j_</sup> <sup>+ (</sup> <sup>_k_</sup> _x_ <sup>2</sup> _x_ <sup>2</sup> <sup>+</sup> <sup>_k_</sup> _y_ <sup>2</sup> _y_ <sup>2)2(</sup> <sup>_b_</sup> <sup>rx</sup> <sup>_kx_</sup> <sup>+</sup> <sup>_b_</sup> <sup>ry</sup> <sup>_ky_</sup> <sup>)</sup> <sup>_._</sup> (5) These two types of fit polynomials are suitable in case of normal incidence and mainly radial distortions. They offer the advantage of handling radial distortions with screen area (like the “down“ branches of an _x −_ _x_ <sup>3</sup> polynomial). For 5 <sup>th</sup> -order polynomials, this condition is not sufficient. For spots actually visible on the screen, the 5th-order terms are only a small correction (even for offnormal incidence). The 5 <sup>th</sup> -order terms can become large for spots that are actually far outside the screen area, and make the polynomial fold back and forth across the LEED screen (like _x_ _−_ _x_ <sup>3</sup> + _x_ <sup>5</sup> _/_ 5, which has a three zeros with positive slope). Therefore, for 5 <sup>th</sup> -order polynomials, it is also required that the derivatives of the respective 4 <sup>th</sup> -order polynomial (without the 5 <sup>th</sup> -order terms) fulfill the same condition as the full polynomial. For (almost) normal incidence, it is usually sufficient to manually enter the ( _h, k_ ) indices of one spot; the program then automatically identifies all the others. In some cases, especially far from normal incidence, it may be required to select several spots and enter their ( _h, k_ ) indices manually. We have successfully tested the program with up to 20 <sup>_◦_</sup> off-normal incidence, where correct identification of all spots usually requires manual input of the ( _h, k_ ) indices for 3–4 spots. Apart from the spot labels shown on the image, a correct identification can also be inferred from low values of the root-mean-square (rms) residuals of the pixel positions with respect to the polynomial fit, as calculated and displayed by the program. Typical rms residuals are ≲ 0 _._ 2% of the image width (1 pixel for a 512 _×_ 512 pixel image). D. Analysis and intensity evaluation of a single diffraction maximum Analysis of a single spot has two major aims, determination of (i) the position and (ii) the intensity. The problem of spot analysis is comparable to photometry of single stars in astronomy, and there are two basic approaches [26]: Aperture photometry and fitting of a point spread function (PSF). The PSF is the intensity distribution that one would obtain for an idealized ( _δ_ -like) maximum. In principle, PSF fitting has the potential of better accuracy in terms of both position and intensity, but it requires knowledge of the PSF. (In astronomy, stars are almost perfect _δ_ functions, all smeared out the same way by atmospheric turbulence and the optics; thus the PSF can be obtained by averaging the images of a few bright stars without nearby background objects.) For LEED diffraction maxima, the PSF cannot be determined for several reasons. (i) Due to deflection of electrons by the suppressor grid and electron capture by grid wires, the spot intensity profiles show modulations caused by the grid. These modulations depend on the position on the screen. (ii) Due to the curvature of the screen, spots are distorted towards the edges of the screen. (iii) On samples with a high step density (step–step separation less than or comparable to the transfer width of the instrument), the width of the spots depends on their index and the energy in a non-trivial way. (Assuming kinetic theory, broadening occurs at out-of-phase conditions [27].) (iv) The background due to scattering by phonons is not constant but increases towards the spots [28]. This makes it difficult to separate the contributions of the spot and the phonon background. Instead of using a pre-determined PSF, one can also use independent 2D Gaussian fit functions for each spot [13], but this approach becomes difficult at low intensities, where the fit is ill-defined and further complicated in case of a sloping background. The other approach to spot analysis is known as aperture photometry (Fig. 2) [29], and in astronomical image processing it was shown that its accuracy for intensity measurements can be comparable to or even surpass PSF fitting [30]. Aperture photometry integrates the intensity over a (usually circular) disk; the background intensity is taken from an annular area around the integration disk. In the most simple case, the average of the pixel intensities in the background area is taken, but other schemes like median, histogram centroid or statistical mode are also common [29]. For the background of LEED spots, different methods of evaluating the background intensity were compared in Ref. 31; good results were achieved with fitting a linear or 2 <sup>nd</sup> -order polynomial in _x_ and _y_ . The profile of a LEED spot decays rather slowly at large distances _r_ from its center (1 _/r_ or 1 _/r_ <sup>2</sup> ) [28]. A 2 <sup>nd</sup> order polynomial does not provide a good description of this decay. Compared to a linear fit, 2 <sup>nd</sup> order also has the disadvantage of more free parameters, which tends to increase the noise. Therefore, the program uses a linear function in _x_ and _y_ to fit the intensity in the background area. This ensures that the measurement is independent of the gradient of the background [32]. In astronomy, where the distance between the stars is often much larger than the size of the PSF, it is common to use an inner radius of the background annulus that is larger than the outer radius of the integration disk for the star intensity. Thus, there is a dead zone in between. For the analysis of LEED spots, we use a few modifications of this scheme. The program offers three different geometries for the integration and background areas. The first is an _annular_ _background_ with the inner radius equal to the ra _√_ <u>dius</u> _r_ i of the integration disk, and an outer radius of 2 _r_ i [Fig. 2(a), named “circular” in the program]. Thus, the background area is equal to the integration area. This choice was motivated by the following consideration about noise: If the spot intensity vanishes, the noise obtained in the integration disk and the background annulus (by averaging) are equal. Thus, t _√_ <u>he</u> spot-minus-background noise is higher by a factor of 2 than the noise obtained from integration over the inner disk [33]. If the spot intensity is higher, the influence of the background noise on the _I_ ( _V_ ) curves will be less, since both the shot noise and spot intensity modulations due to the grid increase with intensity. In contrast to astronomical aperture photometry, we do not use a dead zone between the integration disk and the background area. The main reason is the non-uniform background in LEED (see Fig. 1). If the background is a nonlinear function of _x_ and _y_, the non-uniformity induces a back (a) Circular (b) Oval integration disk (d) Gaussian with _r_ i = 2σ _r_ <u>i</u> √2 _r_ i _r_ i _r_ i √2 _r_ i 2 _r_ i background (c) Azimuth blur blur angle _α_ az (0,0) spot √2 _r_ i _r_ i _r_ i _r_ i √2 _r_ i FIG. 2. Aperture photometry. Integration disk and area for background intensity evaluation with (a) circular and (b) oval outline of the background area. (c) Shapes of the integration and background areas in mode “azimuth blur” for spots with different distances from the (0,0) spot. (d) Illustration of the minimum integration area for LEED spots proposed, assuming a Gaussian profile and annular background (light blue), as shown in panel (a). ground error that increases with increasing radius of the background annulus. The other reason for having a small background annulus is trivial: For complex LEED patterns and high energies, the distance between the spots becomes small, and the background area of one spot must not overlap with the neighboring spots. The _oval background_ is second type of background area available in our program. It does not use a circular outer boundary but rather an ellipse with the semiminor axis equal to the radius of the integration disk and the semimajor axis twice as large [Fig. 2(b)]. As in the case of the annular background, the inner boundary is given by the integration disk, and the background is averaged over as many pixels as the integration disk of the spot. The major axis of the ellipse is in the tangential direction (we simply take the center of the bounding box of the mask as the center). The main advantage of this background type (named “oval” for short) is better suppression of radial variations of the background intensity compared with the annular background. This is especially valuable for some channel-plate LEED optics, where concentric ringlike artifacts in the background intensity occur. The oval background is also valuable for standard LEED instruments, due to the (nonlinear) decrease of background intensity from the center of the screen. An additional bonus of the oval background is a slightly increased usable energy range in most cases: If a spot is close to the outer edge of the LEED screen or the electron source, but its integration disk is still inside the usable screen area (the mask), an annular background area may reach beyond the screen and prevent a well-defined measurement. The oval background area protrudes only in the tangential direction and can be fully evaluated until the integration disk of the spot touches the edge [34]. The oval background is inferior to the annular one in case of very crowded LEED patterns, because neighboring spots will typically enter the oval background area due to its larger extension in the tangential direction before they would affect the annular background. The oval background is also less suitable than the annular one if non-radial background variations are dominating, such as background variations due to short-range order or phonons: The oval background reaches out further than the annular background area, thus it is more sensitive to non-radial background variations that are a nonlinear function of _x_ or _y_ . _Azimuth_ _blur_ _mode_ - Finally, there are situations where the spots are blurred in the azimuthal direction. This happens in the case of overlayers with poorly determined azimuthal orientation. For this case, we offer an option that is close to the circular geometry in the vicinity of the (0,0) spot, but the integration area becomes elongated in the tangential direction at larger distances from (0,0), see Fig. 2(c). For simplicity, we use an elliptical integration area, not an arc; this limits the blur angle to small values (a few degrees). In this geometry, one should not measure the background intensity all around the integration ellipse; in the tangential direction the background evaluation area would be too far from the spot center and therefore the measurement would become very sensitive to spatial variations of the background. For high eccentricity, we therefore use the geometry shown at the right side of Fig. 2(c), where the outer border of the background area is an ellipse touching the integration ellipse at the vertices (in the tangential direction). For this geometry, we take a smaller ratio between the background and integration areas than in the circular and oval case, to limit the influence of nonlinear variations of the background in the radial direction: As soon as the ratio between the m _√_ <u>ajor</u> and minor axes of the integration ellipse exceeds 2, the m _√_ <u>inor</u> axis of the outer background border is limited to 2 times the minor axis 2 _r_ i of the integration disk. This results in a ratio between background area and integration area of 0.41. For more circular integration ellipses [closer to the (0,0) spot], we use <u>a</u> circular outline of the background, _√_ with a radius of 2 times the semiminor axis of the in tegration ellipse, see the two left cases in Fig. 2(c). This results in our usual “circular” geometry close to the (0,0) spot, where azimuthal blurring is negligible. Both the position of the integration and background areas and their borders are calculated with subpixel accuracy. For integration, pixels in a one-pixel-wide zone at the border are weighted between 1 (inside) and 0 (outside that zone). This avoids jumps that could otherwise occur in case of very sharp spots and small integration areas. Spot analysis is not only used for intensity measurements but also for determining the exact spot position; this is required for fitting the polynomial model in Sec. II C and when tracking the spots (section II E). For this purpose, it is important to fit a linear background in the (oval or annular) background area. After subtraction of this background, we determine the position of the cen m _√_ m _√_ _√_ ter of mass inside the integration disk. This process is repeated iteratively until convergence (iteration step less than 0.3 pixels) or aborted if the new position deviates too much from the initial guess (this can happen when searching for a spot with vanishing intensity). In addition to integrated intensity and position, spot analysis also yields an estimate for the spot size derived from the second moments inside the integration disk. The program gives the spot size as standard deviation _σ_ assuming a 2D Gaussian [35]; the sizes in the radial and tangential directions are given separately. Finally, we also extract a measure of significance, which depends on the ration of the spot intensity and the standard deviation of the background (after subtraction of a linear background); this value is used to obtain smoothed spot positions (section II E). _The integration radius_ - The choice of the integration radius depends on the spot size and whether spots come close to each other at high energies. It has been suggested to use an adaptive integration area that only encompasses the region where the spot can be clearly discerned from the background, thus shrinking the area with decreasing intensity [36]. This approach has the advantage of reducing the noise for weak spots, but it is problematic because it introduces a bias: For weak spots, only very center will be inside the integration area and the remaining intensity discarded. Thus the intensity of weak spots will be underestimated. Therefore, we use an integration disk with a radius that does not depend on the intensity. For a 2D Gaussian with a standard deviation of _σ_, illustrated in Fig. 2(d), 86% of the intensity is contained in a circle with a radius of 2 _σ_ . Using an annular background as described above, most of the remaining intensity will spill into the background annulus and increase the background, reducing the integral-minus-background measurement to 75% of the total intensity. As long as the shape of the intensity distribution stays the same, this factor is constant and has no detrimental effect on the _I_ ( _V_ ) curves, where absolute intensity is not important. While the optimal radius of the integration disk in astronomical photometry is lower ( _≈_ 1 _._ 6 _σ_, Ref. 26), we consider 2 _σ_ the minimum integration radius for a good LEED intensity measurement. The reason for the difference lies in the fact that astronomy deals with a roughly constant PSF of stars, while the shapes of the LEED diffraction maxima change, due to deflection and capturing of the electrons by the grid. Furthermore, astronomy uses a dead zone between the integration disk and the background annulus, which is impractical for LEED (see above). The grid-related noise increases with decreasing size of the integration area. In our experience, this increase becomes significant at _r_ i ≲ 2 _σ_ . Therefore, if the distance between the spots at high energy allows it, the integration radius should be chosen slightly larger than 2 _σ_ . On the other hand, for weak spots, the noise of the measured intensities increases with increasing size of the integration disk (the image noise is integrated over a larger area). The signalto-noise ratio of the measured intensities will typically have a minimum at a radius close to or somewhat larger than 2 _σ_ . In addition, as mentioned above, the impact of nonlinear background variations increases as the background evaluation area becomes larger. Even in cases of extremely low background and low camera noise, the integration radius should not be chosen larger than about 3 _σ_ (1.5 times the lower limit), since the increased sensitivity to background variations outweighs any advantage from the marginally reduced grid-related noise. Usually, the spot size is energy dependent. It increases towards lower energies because of less perfect focusing of the electron beam (phase space and space charge effects), but also due to the increasing influence of finite sizes of the domains or terraces on the sample surface. We therefore use an energy-dependent radius _r_ i of the integration disk In a standard LEED experiment, the spots move radially with energy, <u>with</u> the distance from the (0,0) spot _√_ proportional to 1 _/_ _E_ . Since spots can disappear over some energy range (if the intensity vanishes), it is necessary to take this motion into account when tracking the spots. Our approach starts at the energy where the fit for the spot pattern was obtained (Section II C), and then continues searching at increasingly higher energies, thereafter descending the full energy range, and ascending again. At each energy, we make use of the spot pattern file to search for all spots in that file. Searching the full energy range both up and down makes sure that each spot will be tracked, provided that it can be found at any energy. When searching for spots that were not detected so far (or not detected at nearby energies), we follow two strategies, trying (i) the positions calculated _r_ i <sup>2</sup> i <sup>2</sup> <sup>=</sup> <sup>_r_</sup> _∞_ <sup>2</sup> _∞_ <sup>2</sup> <sup>+</sup> <sup>_r_</sup> 1 <sup>2</sup> 1 <sup>2</sup> <sup>_/E_</sup> <sup>_,_</sup> (6) where _r∞_ is the radius at very high energies (assumed to approach a constant value) and _r_ 1 describes the increase of the radius towards low energies (for _E_ in electronvolts and _r_ 1 _≫_ _r∞_, _r_ 1 would be the radius at 1 eV). In the case of superstructure domains, the superstructure spots may be less sharp than substrate spots; this can be accounted for by choosing separate _r_ 1 values for integer-order and superstructure spots. (In the “Set Integration Radius” input, for convenience, the user is asked to enter _r∞_ and the radius _r_ i at the lowest energy of the LEED image stack, not _r_ 1.) In “azimuth blur” mode, the semimajor axis of the integration (and background) ellipse is calculated by essentially the same equation, we only add ( _α_ az _d_ spot _−_ (0 _,_ 0)) <sup>2</sup> to Eq. (6). Here, _d_ spot _−_ (0 _,_ 0) is the distance between the spot of interest and the (0,0) spot, and _α_ az is the blur angle in radians (assumed to be small, tan _α_ az _≈_ _α_ az). Thus, the major axis of the integration ellipse is _≈_ _r_ i near the (0,0) spot and dominated by the _α_ az-dependent term for large distances from the (0,0) spot, as shown in Fig. 2(c). E. Spot tracking _√_ proximated as linear functions of 1 _/_ by the polynomial fit in Eq. (3), scaled with 1 _/_ by the polynomial fit in Eq. (3), scaled with 1 _/_ _E_, and (ii) a corrected position obtained from nearby spots already found. For these nearby spots, we calculate the deviations of their positions from the polynomial model. A linear fit of these deviations (as a function of _kx_ and _ky_, with weights decreasing with distance) yields a correction for the coordinates of the spot that we search for. This procedure corresponds to setting up a local coordinate system determined by the nearby spots, but still taking the overall nonlinear distortions of the LEED pattern into account. The latter approach is especially valuable at very low energies, where the deviation between calculated and actual positions can be large (because of residual _√_ <u>magnetic</u> or electric fields, but also due to the large 1 _/_ _E_ scale factor between reciprocal-space coordi nates and real-space positions). As soon as a given spot is found, its deviations from the polynomial model are kept for searching it at the next energies. If a spot has not been detected over a large energy range (default 30 eV), these deviations may be unreliable and the polynomial model with corrections from the neighbors is also tried to find the spot (as if it were a spot never detected before). The code also includes plausibility checks for the spot positions. For example, the position is considered invalid if large jumps occur or if the position deviates too much from the polynomial fit. In case of doubt, uncertain positions are marked; these beams can be deleted from the analysis (“More _≫_ ” menu). The spot positions obtained this way are smoothed in two passes. Smoothing uses a linear fit of the deviations from the polynomial distortion model in Eq. (3) _√_ as a function of 1 _/_ _E_, in a neighborhood of typically _√_ 30 eV from each energy. Apart from the choice of 1 _/_ _E_ as the independent variable, this smoothing method is akin to a first-order Savitzky-Golay filter [37]. To avoid a large impact of inaccurately determined spot positions near the intensity minima, the fit uses weights related to the spot significance, as introduced in Sec. II D. The first pass bridges gaps where a spot is invisible or only weak. (If there are no or not enough valid points at both sides, the energy range for fitting is extended to include enough points.) The linear fit also provides some extrapolation beyond the energy range where the spot was observed with sufficient significance to determine its positions. Extrapolation to high energies can sometimes lead to large slopes and, therefore, large deviations from the polynomial model. To avoid this problem it is beneficial to use an additional low-weight data poi _√_ <u>nt</u> with zero deviation from the polynomial model for 1 _/_ _E_ = 0. The second pass provides additional smoothing, with fit weights derived from the uncertainty of the fit results from the first pass. For obtaining the final (smoothed) spot positions, the fit results for the deviations are added to the positions calculated from the polynomial model in Eq. (3). _√_ The choice of 1 _/_ _E_ as the independent variable in the linear fits is justified by our experience that the deviations from the polynomial model can be usually ap proximated as linear functions of 1 _/_ _E_ . Thus, espe cially at low energies, this method provides much bet _√_ <u>ter</u> results than smoothing methods not taking this 1 _/_ _E_ _√_ _√_ _√_ <u>y</u> _√_ _√_ _√_ _√_ results than smoothing methods not taking this 1 _/_ _E_ dependence into account. The spot tracker also has a mode for LEED movies obtained at constant energy, typically used for analyzing a phase transition as a function of time or temperature. In this case, spot tracking may be necessary because thermal expansion of the sample or small movements of the sample holder due to its thermal expansion can cause the spots to move. This case is handled the same wa _√_ <u>y</u> <u>as</u> a standard tracking experiment, but without the 1 _<u>/</u>_ _E_ ra _√_ dial motion, and the image number replaces 1 _/_ _E_ as the independent variable in the smoothing of spot positions. The spot tracker also features a LEEM (low-energy electron microscope) mode. In LEEM diffraction movies as a function of the energy, the spot pattern remains essentially stationary and spots move a few pixels at most. Thus, the LEEM mode works the same way as the analysis of LEED experiments at constant energy. Currently there are no provisions for automatic handling of the energy-dependent range of reciprocal space imaged by a LEEM instrument. (This would require a mask that changes with energy.) Therefore, if beams are invisible at low energies, their low-energy limit must be manually selected when editing the _I_ ( _V_ ) curves. F. _I_ ( _V_ ) curve measurements The extraction of _I_ ( _V_ ) curves uses aperture photometry (Section II D) at the smoothed spot positions described in the previous section. Having smoothly varying positions for the integration disk (and background) helps to obtain smooth _I_ ( _V_ ) curves, without artifacts from jumps of the position of the integration area. As described in the previous section, these smoothed positions are also available for energy ranges with very low intensity of a given spot, where the images do not provide a reliable position. Especially for superstructures, a frequent problem is having weak spots close to a strong one. In this case, the tails of the intensity distribution of the strong spot will lead to a curvature of the background intensity for nearby spots. Since we use a linear fit for the background, this can lead to apparently negative intensities of the weak spot. In this context, it is important that LEED diffraction maxima can be approximated by Gaussians only near the center (when ignoring the modulation by the grid). In the periphery we typically find a Lorentzian-like decay of the intensity with 1 _/r_ <sup>2</sup>, where _r_ is the distance from the center of the spot. This is in agreement with the expectation for kinematic scattering from phonons above the Debye temperature [28][38]. The 1 _/r_ <sup>2</sup> background implies that the tails of bright spots reach out rather far; this is the reason why they often affect the intensity measurement of nearby weak spots. Therefore, our program provides an option to subtract the tails of _√_ The choice of 1 _/_ the strong spots before measuring the weak ones. For this purpose, the spots are measured in order of decreasing intensity, and for each spot, after intensity measurement, a 1 _/r_ <sup>2</sup> background is fitted in an annular region between _r_ i and 2 _r_ i. This background is subtracted from the image in a large region around the spot before the next (weaker) spot is measured. In our experience, this background subtraction procedure eliminates the majority of minima reaching below zero in the _I_ ( _V_ ) curves. G. Assessment of the data quality Besides the _I_ ( _V_ ) curves, spot tracking produces a number of diagnostic plots, which help the user to assess the validity and quality of the data and optimize the choice of the parameters. One such plot shows the spot radii _σ_ (see Sec. II D) as a function of energy, together with a line at half the integration radius (separate for integer and superstructure, when different). This plot can be used to verify that the integration radius is chosen such that it is least 2 _σ_, as discussed in Sec. II D. A further plot (Fig. 3) shows statistics useful to assess the quality of the _I_ ( _V_ ) data [39]. The blue points show Pendry’s _R_ factor [7] between pairs of symmetryequivalent beams as a function of average beam intensity. (The _I_ ( _V_ ) curves are smoothed for this using a 4 <sup>th</sup> -degree modified sinc smoother [40]). Since beam intensities typically decrease with increasing energy, and the intensity affects the signal-to-noise ratio, the _I_ ( _V_ ) curves are split into sections of _≈_ 100 eV and each of these sections is analyzed and plotted individually. The _I_ ( _V_ ) data quality plot also includes an additional curve useful for judging the data quality (dark blue in Fig. 3): This curve displays the total energy range of all pairs of symmetry-equivalent curves (split into _≈_ 100 eV sections) where the _R_ factor does not exceed a given value (this value is the _y_ coordinate). The lower this curve, the better the agreement between equivalent beams. This curve is helpful for comparing data taken for the same system with different acquisition parameters or different spot tracking parameters. For instance, one can investigate the influence of the radius of the integration disk on the noise. Since the _x_ axis of this curve is the total energy range of the “good” data, most of this curve is not influenced by parameters that lead to elimination of the worst (e.g., most noisy) parts of the _I_ ( _V_ ) curves. This makes it easy to obtain a valid comparison of data sets that include different energy ranges, such as one set containing low-intensity regions that are missing in the other set. (For comparison, curves can be copied from one ImageJ plot to another by “Data _≫_ Add from plot...”.) The quality plot can also help when optimizing the voltage of the suppressor grid. This can be done by comparing the mutual _R_ -factors obtained from _I_ ( _V_ ) movies acquired with different suppressor voltages. When the influence of electron capture and/or deflection by the grids on the _I_ ( _V_ ) curves is minimized, the agreement FIG. 3. Output plot of the spot tracker for assessing the quality of the _I_ ( _V_ ) curves. This plot combines several aspects of the data. _R_ -factors between pairs of symmetry-equivalent beams are blue dots. Typically, high-intensity beams (at the right) have lower _R_ -factors than low-intensity ones. (The latter are more affected by the noise.) A summary of _I_ ( _V_ ) curve regions with negative intensity is in red. For the red and blue data points, the _x_ axis is the intensity (average over _≈_ 100 eV regions for the blue points of _R_ vs. intensity); the intensity is normalized such that the highest intensity in any _I_ ( _V_ ) curve is 1000. The dark-blue curve “ _R_ Pendry vs. total pair _E_ overlap” allows a quick comparison of different data sets (lower is better). For this curve, the _x_ axis is the cumulative energy range of all pairs of symmetry-equivalent beams with an _R_ factor better than the _y_ -axis value at that position of the curve. (ImageJ currently does not support dual _x_ or _y_ axes, thus the double use of the axes.) between symmetry-equivalent beams is best. Since insufficient electron repulsion by the suppressor grid leads to an increase of the inelastic background, it is advisable to select the suppressor voltage on the strong-suppression side of the _R_ factor minimum, especially if the inelastic background is high and defocusing by the suppressor grid is not an issue. Of course, comparing equivalent beams does not provide information on systematic effects that affect the equivalent beams the same way. For example, if the integration radius is too large, nonlinear variations of the inelastic background or the intensity tails of neighboring bright spots may affect the intensity of symmetryequivalent curves in the same way; this cannot be detected via the _R_ factors between symmetry-equivalent curves. To diagnose at least one of these problems, the plot also contains statistics on _I_ ( _V_ ) curve regions where the smoothed intensity is negative (red in Fig. 3). The _x_ axis of these points gives the absolute value of the most negative intensity, and the _y_ axis gives the total energy range (per beam, in kiloelectronvolts) where the intensity is negative. Thus, high-quality data are characterized by few (or no) red points. If there are any red points, they should be close to the bottom left. If data obtained with an oval background (see Sec. II D) are badly plagued by negative intensities it is usually better to choose a circu Markers for regions with negative intensity in _I_ ( _V_ ) curves. Should be only at the bottom left. Symmetry-equivalent pairs with mutual _R_ P < 0.1 encompass a total energy range of 1.15 × 10 <sup>1</sup> keV. lar background instead. The plots generated when tracking spots also include a set of selected _I_ ( _V_ ) curves of symmetry-equivalent spots (useful to check alignment). There is also a plot stack (i.e., a set of plots) of the deviations of the spot positions from the polynomial model in Eq. (3) to check spot tracking. In addition, the user can plot a large number of quantities for a single beam, a few beams, or the overall measurement (available via the “More _≫_ ” button of the spot tracker panel). H. The beam current _I_ 0 Since the electron beam current _I_ 0 usually changes during a LEED experiment, the raw intensities measured should be normalized by dividing by _I_ 0. The beam current _I_ 0 measured by LEED electronics can have an offset, which may be a substantial fraction of _I_ 0 at low currents (especially for microchannel-plate LEED optics, where beam currents are a few orders of magnitudes lower than for standard LEED). This offset is named _I_ 00 and may depend on the energy; the program can subtract it from the measured _I_ 0 values. Any noise of _I_ 0 will affect the final _I_ ( _V_ ) curves. To avoid this problem, it is possible to smooth the _I_ 0 _−_ _I_ 00 curve. These options are available via the “Set Energies, I0, t” button [Fig. 1(c); typical data are shown in Fig. 1(g)]. Smoothing uses a 4 <sup>th</sup> -degree modified-sinc kernel, which is similar to Savitzky–Golay filtering but provides better noise suppression and is less prone to overshoot at the boundaries [40]. In some cases, sudden jumps of the electron intensity occur. (One possible reason is thermal expansion of some part of the electron source, leading to sudden movement when it overcomes static friction.) In such a case, smoothing of the electron current would smooth out the jump and result in an improper normalization. Such jumps can be also detected in the background intensity of the LEED images far from the spots, especially if the background is high (e.g., if the sample temperature is comparable to or higher than the Debye temperature). For these cases, the user can choose to take the rapid variations of the background (which tends to have low noise because it is the average over a large number to pixels [41]) and apply these variations to the smoothed _I_ 0 values, _<u>I</u>_ <u>b</u> _I_ 0 <sup>corr</sup> = _S_ ( _I_ 0 _−_ _I_ 00) (7) _S_ ( _I_ b) <sup>_,_</sup> where _I_ b is the background intensity and _S_ represents the smoothing operator. The fraction _I_ b _/S_ ( _I_ b) in Eq. (7) is similar to a high-pass-filtered version of the background intensity with a baseline shifted to unity. If _I_ b is proportional to the _I_ 0 _−_ _I_ 00 (i.e., if _I_ b has the same energy dependence as the measured beam current), Eq. (7) ensures that the corrected _I_ 0 <sup>corr</sup> values will be propor tional to _I_ 0 _−I_ 00; otherwise the slow variations of _I_ 0 _−I_ 00 are combined with the fast variations of _I_ b. In many cases, we find that the background intensity varies with energy in a manner similar to _I_ ( _V_ ) curves, albeit with a lower relative amplitude of _≈_ 20%. A large portion of these background variations comes from stray light from very bright spots. If these variations are substantial, only rapid variations of the background intensity should be used for _I_ 0 correction. According to Eq. (7), this means that only mild smoothing should be used for _I_ 0 _−_ _I_ 00 (e.g., a smoothing parameter of 10 points for 0.5 eV energy steps [42]). The effect of the correction can be examined after spot tracking by plotting _I_ 0 and _I_ 0 <sup>corr</sup> (available via the “More _≫_ ” button). I. More spot-tracker features and utilities To enhance usability, the spot tracker contains additional features, available in the “More _≫_ ” menu of the spot tracker panel. These include highlighting specific beams (to find and follow them easily in the LEED movie), and deleting beams in the output (fully or within some energy range). The “More _≫_ ” menu also has an entry to list the current values of all parameters, together with the respective default values. The parameters are also written to a `.log` file upon saving data. The parameters can be also read from `.log` files, for processing the same or related data with identical parameters. A further function of the spot tracker is undistorting one of the LEED images in the movie or the full movie, based on the polynomial model in Eq. (3). The undistorted image stack can be created with a fixed _k_ -space scale; then the spots do not move with energy. Averaging the images (“slices”) of such a stack over some energy range (or even the whole stack) provides an “average” LEED image with a high signal-to-noise ratio; also the adverse effects of the grids will be averaged out. In addition, the package includes several utility plugins for handling _I_ ( _V_ ) curves: averaging _I_ ( _V_ ) curves, stitching curves with different (overlapping) energy ranges, resampling to a different energy step, (energy-dependent) intensity corrections, and _R_ factor calculations. A typical application of these utilities is mentioned in Sec. II B: Noise reduction by averaging the _I_ ( _V_ ) curves obtained with slightly different distance between the LEED optics and the sample. This is an efficient way to reduce the influence of the grids: In each movie, the electron beam of a given diffraction maximum reaches the grids at a slightly different position. Averaging uses the algorithm described in Sec. II J, which includes smooth fading in or fading out if the energy ranges of the curves differ. Most functions of the spot tracker and utilities can be controlled via the ImageJ macro language. Automation is simplified by the ImageJ Macro Recorder, which records the macro commands corresponding to a given workflow during manual operation. J. The _I_ ( _V_ ) curve editor The _I_ ( _V_ ) curve editor (Fig. 4) is used for the final steps before the experimental _I_ ( _V_ ) curves can be used for comparison with “theoretical” curves in structure optimization. These steps include averaging between symmetry-equivalent beams, selection of the useful data (sufficiently low noise, reasonable agreement between inequivalent beams), smoothing, and examination of the data. As described in the following, these steps are at least partly automated. This allows handling large data sets with hundreds of symmetry-inequivalent beams in a short time. _Curve averaging_ - When averaging the _I_ ( _V_ ) curves of symmetry-equivalent beams, the individual curves usually encompass different energy ranges. If a curve begins or ends within the energy range selected for the output, it is important to avoid jumps of the averaged intensity where that curve begins or ends. Therefore, before averaging, the curves are normalized and slow trends in the intensity ratio between the beginning and end of these curves are equalized. In addition, we use smooth fading in and/or fading out of the _I_ ( _V_ ) curves that do not span the full energy range required for the output: Shorter curves use a linear increase or decrease of the weight in the averaging process at the respective end. (We use the imaginary part _V_ 0i of the inner potential as an indication of a typical energy scale for variations in the _I_ ( _V_ ) curves [7]; e.g. the increase or decrease of the weight is over an energy interval of 4 _|V_ 0i _|_ .) _Selection_ _of_ _data_ - As mentioned in the introduction, a large database of experimental beams is important for a reliable structure analysis. [Therefore, the _I_ ( _V_ ) curve editor displays the total energy range of symmetryinequivalent beams selected in the status line at the bottom, unless the mouse pointer is at a button; then the status line displays information related to that button.] Selecting the data range is a compromise between a large database and rejecting low-quality data that increase the _R_ factor and do not help in the structure optimization. As an aid for selecting the useful data, the _I_ ( _V_ ) curve editor does not only plot the original data and the (smoothed and unsmoothed) average over the symmetryequivalent beams, but also the _Y_ function of Pendry’s _R_ factor _R_ P [7]. According to current knowledge, Pendry’s _R_ factor is the method of choice for experiment– simulation comparison; in structure optimization it yields more accurate results than _R_ 2, which is based on the squared difference of the normalized _I_ ( _V_ ) curves [43]. _R_ P is based on a comparison of the _Y_ function between experiment and theory. The _Y_ function is given by _<u>L</u>_ _Y_ = _I_ _<u>L</u>_ with _L_ = <sup><u>1</u></sup> 1 + ( _V_ 0i _L_ ) <sup>2</sup> _I_ is influenced by noise and how it depends on smoothing. Plotting the _Y_ function allows the user to avoid data regions where _R_ P is strongly influenced by experimental noise and to examine the impact of smoothing on _Y_ . Manual selection of the “good” beams and their useful energy ranges can be a cumbersome task, especially if there are hundreds of symmetry-inequivalent beams. The _I_ ( _V_ ) curve editor therefore provides an option for automatic selection. The main basis for this analysis is an estimate of the noise of the _Y_ function, which is done by an _R_ factor-like comparison between the _Y_ function of the raw data and that after slight smoothing. As explained in Ref. 7, the width of the features in an _I_ ( _V_ ) curve is determined by _|V_ 0i _|_ . A smoothing parameter of 0 _._ 55 _| V_ 0i _|_ leads to almost no noticeable change of lownoise _I_ ( _V_ ) curves; therefore we use this smoothing parameter for the comparison with the _Y_ function of the raw curve. The comparison is made point by point and then smoothed by a running-average filter with a window length of 2 _|V_ 0i _|_ . With proper scaling, this procedure gives an estimate _r_ n( _E_ ) of the local contributions of the noise in the _I_ ( _V_ ) data to the overall _R_ factor, assuming that the _R_ factor is dominated by noise [44]. [The user can select in the options menu to plot the noise function _r_ n( _E_ ).] Automatic selection of the beams and energy ranges (i) selects only curves or energy ranges where the average of the noise contributions _r_ n( _E_ ) is below a given limit _R_ limit and (ii) maximizes a figure of merit (FoM), given by _F_ = <sup>_<u>E</u>_</sup> <sup><u>max</u></sup> <sup>_<u>−</u>_</sup> <sup>_<u>E</u>_</sup> <sup><u>min</u></sup> (9) _⟨r_ n( _E_ ) + _c⟩_ where _E_ min and _E_ max are the bounds of the energy range selected for a given beam and the angle brackets denote the average over that energy range. For very low noise values _r_ n( _E_ ), the constant _c_ ensures that the FoM depends only on the energy range, not on minor changes of the noise (we use _c_ = 0 _._ 5 _R_ limit). Maximizing the FoM results in a large energy range, but penalizes energy regions with a high noise that would strongly increase the _R_ factor (high values of the denominator). For low-noise data, the denominator is dominated by the constant _c_, and only the energy range is maximized. A typical choice of the noise limit is _R_ limit _≈_ 0 _._ 05; lower values are required for data with excellent agreement between calculated and experimental _I_ ( _V_ ) curves ( _R_ P ≲ 0 _._ 1) to avoid compromising the _R_ factor. In addition to the noise-dependent part, automatic selection of beams and energy ranges also takes care of regions of negative intensity that result from uneven background. (We only consider negative intensities after smoothing, since noise may also cause negative intensities.) _R_ P is only defined for non-negative intensities _I_ . To avoid negative values, a simple strategy is adding the absolute value of the most negative intensity to the _I_ ( _V_ ) curve. Since _Y_ is a nonlinear function of the intensities (and their derivatives), such an upshift of the intensities affects _Y_ also in the regions where negative intensities <u>d</u> _<u>I</u>_ d _V_ <sup>_,_</sup> (8) where _V_ 0i is the imaginary part of the inner potential (typically, _|V_ 0i _| ≈_ 4 to 5 eV) [7]. _Y_ is a nonlinear function of the logarithmic derivative _L_ of the _I_ ( _V_ ) curves. Thus, it is not directly obvious to what degree the _Y_ function Help (and comments) Save Prev./next group Group on/off Smooth less/more Options symmetry-equivalent beams (can be highlighted, selected/deselected) _Y_ function of Pendry’s _R_ facto ~~r~~ (red: raw, averaged <u>black: from</u> smoothed data) _I_ ( _V_ ) curves <u>(red: average</u> <u>black: smoothed</u> Beam group Select energy range <u>other colors:</u> selected beams) Selection rectangle for energy range ImageJ plot controls Status line (the mouse pointer is at the “smooth more” icon) FIG. 4. Screenshot of the _I_ ( _V_ ) curve editor. “Group” refers to a set of symmetry-equivalent beams. The buttons marked by arrows at the right side provide additional functionality with right-clicking (e.g., setting a parameter for all groups). Note that the intensity ( _y_ axis) scale is chosen such that the highest spot intensity in the set of all _I_ ( _V_ ) curves is 10 <sup>3</sup> ; even an intensity of 1 on this scale (0.1% of the brightest spot) is sufficient for reasonable data quality. This _y_ axis scale only applies to the intensities, not to the _Y_ function of the _R_ factor, which is always shown in the same place at the top of the plot, irrespective of the y-axis scale. do not occur. We therefore calculate the _R_ factor between the original and the upshifted curve in the positiveintensity regions. If this _R_ factor is too high (above _R_ limit), instead of upshifting, we exclude the negativeintensity region and its immediate vicinity. The noisedependent selection then proceeds as described above. Since we limit ourselves to _I_ ( _V_ ) curves with a contiguous energy range, the FoM determines whether the energy range below or above the negative-intensity region is used. Typically, the ratio between background and intensities increases with energy, thus negative intensities occur more often at high energies and the low-energy side gets selected. _Noise-dependent_ _smoothing_ - For large data sets, noise-dependent adjustment of the smoothing parameter can be a lengthy task. By comparing the _R_ factor between experimental and simulated data, as well as by analyzing manually selected smoothing parameters, we found that a good choice is a smoothing parameter proportional to the average of the noise estimate _r_ n( _E_ ) of a given _I_ ( _V_ ) curve raised to the power of 0.15 [45]. As a guide for choosing the smoothing parameter, the program also contains a facility to find the smoothing setting that optimizes the _R_ factor between smoothed experimental data and theoretical intensities (calculated, e.g., with viperleed.calc [12]). When calculating such an optimal smoothing parameter for the whole data set or a subset thereof, the overall smoothing parameter can be adapted to the noise of each curve, as described above. The minimum of the _R_ factor against the smoothing pa rameter is rather shallow. To avoid oversmoothing, we do not use the value exactly at the minimum but the weakest smoothing that does not lead to an _R_ factor more than 1% above the minimum. _Finding_ _“bad”_ _regions_ _in_ _the_ _data_ - For examination of the data quality, the _I_ ( _V_ ) curve editor provides a function to selectively examine the cases of poor agreement of symmetry-equivalent beams with their average, based on Pendry’s _R_ factor. It has to be noted that _R_ P is extremely sensitive to the exact shape of the curves at each minimum; even tiny deviations at the minima can lead to high values of the difference of the _Y_ functions, which determines the _R_ factor. Since such deviations are unavoidable, we first eliminate sharp peaks of the _Y_ function difference by a minimum filter [46], followed by smoothing with a running-average filter. If the maxima of the local _R_ factor filtered this way exceed a user-defined threshold, they are flagged as regions of bad agreement. These regions are sometimes related to a beam passing over a defect of the LEED screen; in such a case the the affected beam can be excluded from averaging in this energy range. _Workflow_ - The workflow for editing a large set of _I_ ( _V_ ) curves can thus be reduced to (i) selection of a suitable noise limit _R_ limit and (ii) choice of the smoothing parameter for a curve with medium noise, followed by applying noise-dependent smoothing to all other curves. For some materials (notably 5d elements) or if very low energies (below 50 eV) are included, the low-energy peaks may by substantially sharper than expected from the _V_ 0i value. In such a case, weaker smoothing should be selected for beams including low energies. This can be done by first selecting the smoothing parameter for the first beams, which tolerate less smoothing due to their sharp peaks at lo energies. Then, starting with a “higher” beam (with the onset at higher energy), stronger smoothing can be applied to this beam and those further up. The final step in the workflow is the examination of the data quality; in many cases this can be restricted to the cases of poor agreement of symmetry-equivalent beams mentioned above (a small fraction of the whole data set). When editing is complete, the final set of _I_ ( _V_ ) curves can be saved into a file that is directly suitable as experimental input for structure optimization with viperleed.calc [12]. The edit parameters (data ranges selected, smoothing strengths) are saved in an edit log file, which allows the user to (i) interrupt an editing session at any point and resume it later, (ii) modify a previous edit (changing the smoothing or adding/removing some beams), and (iii) apply the same editing parameters to a different data set with the same symmetry. This is useful, for instance, as a starting point when analyzing a later measurement of the same sample. Apart from selecting and editing data, the _I_ ( _V_ ) curve editor can be also used to compare different data sets, by opening two (or more) editor windows. Multiple editor windows are synchronized, which means that they show the same group of symmetry-equivalent beams over the same energy range (prior to any manual zooming). In addition, the _I_ ( _V_ ) curve editor can be synchronized with the LEED movie shown in the spot tracker. Then, the energy selected in the spot tracker is marked in the _I_ ( _V_ ) curve editor, and the beams selected in the _I_ ( _V_ ) curve editor are marked in the spot tracker. III. CONCLUSIONS We have developed an open-source software package [47], implemented as a set of ImageJ plugins, for analysis of LEED movies, extraction and processing of _I_ ( _V_ ) curves. The package was designed for (i) efficient and fast workflow and (ii) optimal data quality. For reaching these aims it includes many features not available in previous software solutions. The package currently contains about 15000 lines of code written over more than four years. The screenshots in Figs. 3 and 4 give an indication of the typical data quality obtained with our system. [1] M. A. Van Hove, W. H. Weinberg, and C.-M. Chan, _Low-energy_ _electron_ _diffraction:_ _Experiment,_ _theory_ _and_ _surface_ _structure_ _determination_, softcover reprint of the hardcover 1. edition 1986 ed., Springer Series in Surface Sciences No. 6 (Springer, Berlin, 1986). [2] M. A. Van Hove, W. Moritz, H. Over, P. J. Rous, A. Wan der, A. Barbieri, N. Materer, U. Starke, and G. A. Somor Even spots that have 0.1% of the maximum spot intensity can be evaluated with acceptable noise (Fig. 4). This data quality is substantially better than what could be achieved with legacy systems based on 8-bit images. With our system, we have successfully performed spot tracking and _I_ ( _V_ ) measurements for LEED movies acquired with four different experimental setups from more than 20 different structures: from simple Cu(111)-(1 _×_ 1) to complex ones with a dense arrangement of spots. The upper limit in complexity processed so far was a (10 _×_ 10) superstructure on Pt(111) [10], where about 2000 _I_ ( _V_ ) curves could be measured; about 350 inequivalent beams with sufficient quality were finally selected. For this structure, the proximity of spots limits the usable energy range to _E_ _≤_ 400 eV. Taking advantage of parallelization for multi-core machines, the processing times for spot tracking and _I_ ( _V_ ) measurements on a contemporary desktop computer are below one minute even for such a large data set. Including all user intervention (from opening the files and creation of the mask for a new LEED setup, setting all parameters, up to and including assessing the quality of the results), extraction of the raw _I_ ( _V_ ) data from a typical LEED movie takes about 10–15 minutes (less for subsequent similar movies with the same setup). The time required for selection, processing and examination of the data in the _I_ ( _V_ ) curve editor is of the same order of magnitude. This has to be compared with a week of work for a structure with somewhat lower complexity [48] when manually selecting and tracking spots one by one. Besides reduction of manual work (which also reduces the risk of human errors), our software contains many features that improve the data quality. Together with the other parts of the ViPErLEED project, we consider it an important step towards making LEED _I_ ( _V_ ) studies more accessible. ACKNOWLEDGMENTS The authors would like to thank Maximilian Buchta for providing test data for the “azimuth blur” mode and Alessandro Sala for providing LEEM image stacks for testing. This research was funded in part by the Austrian Science Fund (FWF) under doi 10.55776/F81, Taming Complexity in Materials Modeling (TACO). For the purpose of open access, the authors have applied a CC BY public copyright license to any Author Accepted Manuscript version arising from this submission. jai, Automated determination of complex surface structures by LEED, Surf. Sci. Rep. 19, 191 (1993). [3] K. Heinz and L. Hammer, Surface crystallography by low energy electron diffraction, Z. [Kristallogr.](https://doi.org/10.1524/zkri.1998.213.12.615) 213, 615 [(1998).](https://doi.org/10.1524/zkri.1998.213.12.615) [4] G. Held, Low-energy electron diffraction - Crystallogra phy of surfaces and interfaces, Bunsen-Magazin 12, 124 (2010). [5] K. Heinz, Electron based methods: 3.2.1 Low-energy electron diffraction (LEED), in _[Surface and Interface Sci-](https://doi.org/10.1002/9783527680535.ch4)_ _ence_, Vol. 1, edited by K. Wandelt (John Wiley & Sons, Ltd, 2013) pp. 93–150. [6] T. Fauster, L. Hammer, K. Heinz, and M. A. Schnei der, _Surface_ _Physics:_ _[Fundamentals](https://doi.org/10.1515/9783110636697)_ _and_ _Methods_ (De Gruyter Oldenbourg, 2020). [7] J. B. Pendry, Reliability factors for LEED calculations, J. Phys. C: Solid [State](https://doi.org/10.1088/0022-3719/13/5/024) Phys. 13, 937 (1980). [8] Most LEED _I_ ( _V_ ) studies use normal incidence. Since LEED _I_ ( _V_ ) spectra depend sensitively on the incidence angle, one can verify normal incidence by comparing the _I_ ( _V_ ) curves of symmetry-equivalent beams, provided that the surface has sufficient symmetry (at least a rotation axis). Advantages of normal incidence are (i) noise reduction by averaging of symmetry-equivalent beams (also reduction of errors due to residual misalignment) and (ii) the exact incidence angle is known. Off-normal incidence usually requires to handle the exact incidence angle as one or two additional fit parameter(s) in the structure search. [9] A. Schmidt, W. Meier, L. Hammer, and K. Heinz, Deep going reconstruction of Ir(100)-5 _×_ 1, J. Phys.: Condens. Matter [14](https://doi.org/10.1088/0953-8984/14/47/310), 12353 (2002). [10] T. Kißlinger, A. Schewski, A. Raabgrund, H. Loh, L. Hammer, and M. A. Schneider, Surface telluride phases on Pt(111): Reconstructive formation of unusual adsorption sites and well-ordered domain walls, [Phys.](https://doi.org/10.1103/PhysRevB.108.205412) Rev. B [108](https://doi.org/10.1103/PhysRevB.108.205412), 205412 (2023). [11] F. D¨orr, M. Schmid, F. Kraushofer, T. Kißlinger, L. Hammer, U. Diebold, and M. Riva, ViPErLEED package III: Data acquisition for low-energy electron diffraction, to be published (2024). [12] F. Kraushofer, A. M. Imre, T. Kißlinger, G. Francheschi, M. Schmid, U. Diebold, L. Hammer, and M. Riva, ViPErLEED package I: Calculation of _I_ ( _V_ ) curves and structural optimization, Phys. Rev. Res., submitted (2024). [13] A. Mayer, H. Salopaasi, K. Pussi, and R. D. Diehl, A novel method for the extraction of intensity–energy spectra from low-energy electron diffraction patterns, [Com-](https://doi.org/10.1016/j.cpc.2012.02.019) puter Physics [Communications](https://doi.org/10.1016/j.cpc.2012.02.019) 183, 1443 (2012). [14] A. Mayer, H. Salopaasi, and N. Ferralis, EasyLEED: LEED I(E)-spectra analysis – EasyLEED 2.5.2 documentation, `[https://andim.github.io/easyleed/](https://andim.github.io/easyleed/)`, accessed: 2021-06-21. [15] F. Sojka, M. Meissner, C. Zwick, R. Forker, and T. Fritz, Determination and correction of distortions and systematic errors in low-energy electron diffraction, Rev. Sci. Instrum. [84](https://doi.org/10.1063/1.4774110), 015111 (2013). [16] F. Sojka, M. Meissner, C. Zwick, R. Forker, M. Vysh nepolsky, C. Klein, M. Horn-von Hoegen, and T. Fritz, To tilt or not to tilt: Correction of the distortion caused by inclined sample surfaces in low-energy electron diffraction, [Ultramicroscopy](https://doi.org/10.1016/j.ultramic.2013.04.005) 133, 35 (2013). [17] F. Sojka, LEEDCal, `[http://fritz-sojka-gbr.de/](http://fritz-sojka-gbr.de/leedcal/)` `[leedcal/](http://fritz-sojka-gbr.de/leedcal/)`, accessed: 2021-08-05. [18] C. A. Schneider, W. S. Rasband, and K. W. Eliceiri, NIH Image to ImageJ: 25 years of image analysis, Nat. [Meth-](https://doi.org/10.1038/nmeth.2089) ods 9, 671 (2012). [19] See Supplemental Material at [URL] for the program and program documentation, including installation instructions. [20] `[https://github.com/viperleed/viperleed-imagej](https://github.com/viperleed/viperleed-imagej)` . [21] M. F. Opheys, `[http://www.ee2000.de](http://www.ee2000.de)`, accessed: 2021 06-21. [22] T. Kißlinger, M. A. Schneider, and L. Hammer, Sub monolayer copper telluride phase on Cu(111): Ad-chain and trough formation, Phys. Rev. B [104](https://doi.org/10.1103/PhysRevB.104.155426), 155426 (2021). [23] C. Buil, _CCD_ _Astronomy_ (Willmann-Bell, Richmond, 1991). [24] Note that annealing polycrystalline materials can lead to grain growth and, thus, the appearance of LEED spots for such materials. To ensure that this is not the case, it is a good practice to inspect the stack of flat-field images as it will be applied to the main input. This image stack, processed with the appropriate dark frame, the normalization polynomial in Eq. (2), and averaging for noise reduction, is available with the “Show processed flat field” option in the “Dark&Flat Processing” dialog. [25] R. Koller, W. Bergermayer, G. Kresse, C. Konvicka, M. Schmid, J. Redinger, R. Podloucky, and P. Varga, The structure of the oxygen-induced c(6×2) reconstruction of V(110), Surf. Sci. [512](https://doi.org/10.1016/S0039-6028%0x2802%0x2901722-3), 16 (2002). [26] K. J. Mighell, Algorithms for CCD Stellar Photometry, in _ASP_ _Conference_ _Series_, Vol. 172, edited by D. M. Mehringer, R. L. Plante, and D. A. Roberts (Astronomical Society of the Pacific, San Francisco, 1999) pp. 317– 328. [27] M. Henzler, Quantitative evaluation of random dis tributed steps at interfaces and surfaces, Surf. [Sci.](https://doi.org/10.1016/0039-6028%0x2878%0x2990499-5) 73, [240](https://doi.org/10.1016/0039-6028%0x2878%0x2990499-5) (1978). [28] J. T. McKinney, E. R. Jones, and M. B. Webb, Surface lattice dynamics of silver. II. Low-energy electron thermal diffuse scattering, Phys. Rev. [160](https://doi.org/10.1103/PhysRev.160.523), 523 (1967). [29] S. B. Howell, Two-dimensional aperture photometry: Signal-to-noise ratio of point-source observations and op[timal data-extraction techniques, Publ. Astron. Soc. Pac.](https://doi.org/10.1086/132477) 101, [616](https://doi.org/10.1086/132477) (1989). [30] S. Sonnett, K. Meech, R. Jedicke, S. Bus, J. Tonry, and O. Hainaut, Testing accuracy and precision of existing photometry algorithms on moving targets, Publ. [Astron.](https://doi.org/10.1086/670593) Soc. Pac. [125](https://doi.org/10.1086/670593), 456 (2013). [31] R. Rouˇcka, J. Jiruˇse, and T. Sikola, <sup>ˇ</sup> Spot intensity pro cessing in LEED images, Vacuum 65 [,](https://doi.org/10.1016/S0042-207X%0x2801%0x2900360-8) 121 (2002). [32] Instead of fitting a linear background one could simply use the average over the background area if the spot is exactly centered (vanishing first moments over the integration disk after subtraction of the linear background) and the shapes of the integration areas for the spot and the background have at least twofold rotation symmetry around the center. Subtracting the linear background is required for obtaining the spot position via the first moments, and also for the intensity measurement if the spot is not perfectly centered spot or there is an asymmetry of the integration areas. Slight asymmetry can occur due to the spatial quantization (image pixels). We use a one-pixel-wide transition zone where the weight of the background evaluation decreases to zero; this transition zone is not required to be fully inside the foreground area of the mask. If pixels in the transition zone have to be excluded because they are outside the mask foreground area, this also causes asymmetry. [33] Since the noise of different pixels is usually uncorrelated, one can use the rules of error propagation to estimate the noise. If the areas of the integration disk and background annulus are the same, at vanishing spot intensity (i.e., without intensity-dependent shot noise), the noise related errors of the two integrals over these areas will be the same. Thus, _~~√~~_ <u>the</u> error of the difference of these two integrals equals 2 times the error of one of the integrals. [41] As a background intensity, we use the average intensity of the 40% darkest pixels in the screen area as defined by the mask, excluding the integration areas of the spots. [42] The number of points entered as a smoothing parameter is the number of points of a moving-average filter with the same suppression of white noise. In other words, if _n_ is entered as <u>the</u> number of points, the noise suppression factor is 1 _/_ <sup>_~~√~~_</sup> _<u>n</u>_ <u>.</u> The program calculates the filter kernel required for this noise suppression. [43] M. Sporn, E. Platzgummer, S. Forsthuber, M. Schmid, W. Hofer, and P. Varga, The accuracy of quantitative LEED in determining chemical composition profiles of substitutionally disordered alloys: [a case study, Surf. Sci.](https://doi.org/10.1016/S0039-6028%0x2898%0x2900596-2) 416, [423](https://doi.org/10.1016/S0039-6028%0x2898%0x2900596-2) (1998). [44] Like the _R_ factor, the estimate of the local noise contri bution _r_ n( _E_ ) is based on the squared difference of the _Y_ function of the unsmoothed and slightly smoothed _I_ ( _V_ ) curve. To calculate the noise, we assume white Gaussian noise of the _Y_ function and make use of the known bandwidth of the smoothing filter [40]. For the impact on the noise on the final _R_ factor we assume that a smoothing parameter of 1 _._ 0 _|V_ 0i _|_ will be chosen for the final curves. [45] Here, the smoothing parameter of the modified sinc filter [40] is given in electronvolts and corresponds to the kernel length of a moving-average filter with equal suppression of white noise, as already described in Ref. [42] above. This smoothing parameter is roughly proportional to the width of the smoothing kernel and inversely proportional to the bandwidth. [46] W. Burger and M. J. Burge, _Digital_ _Image_ _Processing_ _–_ _An_ _Algorithmic_ _Introduction_ _Using_ _Java_, 2nd ed., Texts in Computer Science (Springer-Verlag, London, 2016). [47] The code is licensed under GNU GPLv3 or any later version. The documentation is licensed under Creative Commons Attribution CC BY 4.0. [48] G. von Witte, T. Kißlinger, J. G. Horstmann, K. Ross _~~√~~_ integrals equals 2 times the error of one of the integrals. [34] For spots moving along the arm holding the electron source, which is essentially a radial “spoke” (to the bottom right in Fig. 1), the oval background touches that arm before an annular background area with equal area would touch it. This can reduce the amount of data available with the oval background as compared with a circular background. This case occurs less often than that of spots close to the inner or outer boundary. If it occurs, it often affects only one of several symmetry-equivalent beams, so it does not affect the size of the experimental database of the symmetry-averaged _I_ ( _V_ ) curves. [35] For the calculation of _σ_ from the moments we use a heuristic correction to take into account that the spot intensity is not fully inside the integration disk. Since experimental LEED spot profiles are non-Gaussian and typically have slowly decaying tails at low intensity [28], the spot size is typically overestimated, especially if the integration radius is large. [36] J. Toofan and P. R. Watson, A new image processing method for extracting integrated intensities from lowenergy electron diffraction spots, Rev. Sci. [Instrum.](https://doi.org/10.1063/1.1144577) 65, [3382](https://doi.org/10.1063/1.1144577) (1994). [37] A. Savitzky and M. J. E. Golay, Smoothing and differ entiation of data by simplified least squares procedures, Anal. Chem. [36](https://doi.org/10.1021/ac60214a047), 1627 (1964). [38] The experimental results in Ref. 28 rather indicate an 1 _/r_ decay, which we cannot confirm. [39] Since the “ _I_ ( _V_ ) Quality Statistics” plot is based on the mutual _R_ -factors of symmetry-equivalent beams, it is created only if there are at least two symmetry-equivalent beams. In case of non-normal incidence, for a valid result, only beams that are symmetry-equivalent at the given beam incidence should belong to the same group in the spot pattern file. [40] M. Schmid, D. Rath, and U. Diebold, Why and how Savitzky–Golay filters should be replaced, ACS [Meas.](https://doi.org/10.1021/acsmeasuresciau.1c00054) Sci. Au [2](https://doi.org/10.1021/acsmeasuresciau.1c00054), 185 (2022). ( 13 _×_ 13)R13.9 <sup>_◦_</sup> charge density wave phase of 1T TaS2(0001), Phys. Rev. B [100](https://doi.org/10.1103/PhysRevB.100.155407), 155407 (2019). nagel, M. A. Schneider, C. Ropers, and L. Hammer, Su _~~√~~_ <u>rface</u> _~~√~~_ structure and stacking of the commensurate ( 13 _×_ 13)R13.9 <sup>_◦_</sup> charge density wave phase of 1T _~~√~~_ <u>rface</u> _~~√~~_ s 13 _×_

섹션 본문 87문단 · 76,114자

(제목 없음)

1As part of the ViPErLEED project (Vienna package for Erlangen LEED, low-energy electron diffraction), computer programs have been developed for facile and user-friendly data extraction from movies of LEED images.The programs make use of some concepts from astronomical image processing and analysis.As a first step, flat-field and dark-frame corrections reduce the effects of inhomogeneities of the camera and screen.In a second step, for identifying all diffraction maxima ("spots"), it is sufficient to manually mark and label a single spot or very few spots.Then the program can automatically identify all other spots and determine the distortions of the image.This forms the basis for automatic spot tracking (following the "beams" as they move across the LEED screen) and intensity measurement.Even for complex structures with hundreds to a few thousand diffraction beams, this step takes less than a minute.The package also includes a program for further processing of these I(V ) curves (averaging of equivalent beams, manual and/or automatic selection, smoothing) as well as several utilities.The software is implemented as a set of plugins for the public-domain image processing program ImageJ and provided as an open-source package.

I. INTRODUCTION

2Analysis of energy-dependent low-energy electron diffraction intensities [LEED I(V ) data, also named I(E)] is the oldest technique for obtaining high-accuracy data in surface crystallography and has the advantage that it requires rather simple instrumentation (LEED optics), which is available in many ultrahigh-vacuum surface science systems [1][2][3][4][5][6].LEED I(V ) analysis is based on the comparison of calculated diffraction intensities I as a function of the kinetic energy E of the electrons (or acceleration voltage V ) with the experimental ones.The agreement between calculated and experimental I(V ) curves is described by an R factor, such as Pendry's R factor R P [7], which takes values between 0 for perfect agreement and 1 for uncorrelated curves.(Higher values up to 2 can in principle occur for anti-correlated curves, but are rare.)

3In most LEED I(V ) studies, symmetry-equivalent beams are averaged [8].The sum of the energy ranges of all the resulting inequivalent beams that enter the analysis is usually named the size of the experimental database.It is well known that care must be taken to provide a sufficiently large experimental database for the structure search.Increasing the size of the experimental data base lowers the risk of the structural analysis becoming stuck in a local minimum of the R factor, improves the accuracy, and increases the trustworthiness of the final result [9,10].For obtaining a large database, it is desirable to obtain intensity data with sufficient quality not only for bright spots but also for the weak ones.Therefore, a major goal of both the data acquisition and the analysis should be minimizing the noise.

4Acquisition and analysis of experimental LEED I(V ) data is not only useful for structure determination.I(V ) curves are also valuable as fingerprints of structures, especially in cases where different surface structures share the same qualitative appearance of the LEED pattern.This is the case, for instance, if two different terminations of the same bulk crystal have a (1 × 1) LEED pattern, or two different adsorbate coverages lead to the same superstructure.In such a case, LEED I(V ) data can verify that a surface preparation can be reproduced.This is useful if other methods to distinguish these two structures are not available in a given vacuum system, or these other methods are not sensitive enough to detect the difference.

5The ViPErLEED (Vienna Package for Erlangen LEED) project aims at drastically reducing the effort for LEED I(V ) studies, both on the computational and on the experimental side.The package consists of (i) hardware and software for data acquisition [11], (ii) software for extracting I(V ) curves from the experimental data, as well as (iii) software for calculation of I(V ) curves for a given structure and structure optimization, by minimizing the difference between the calculated and experimental I(V ) data [12].Part (ii) is the topic of this paper.

6Experimentally, I(V ) curves are obtained by acquiring images of the LEED screen with a digital camera for a range of energies (usually, several hundred electronvolts, with 0.5 or 1 eV steps).This results in so-called LEED movies, where the diffraction maxima (the "spots") move radially, in the ideal case with a distance from the (0,0) spot proportional to 1/ √ E. These LEED movies are processed by following the motion of the diffraction maxima with energy (spot tracking) and evaluation of the intensity of each diffraction maximum (each "beam") as a function of energy -the I(V ) curves.For other types of LEED investigations, it is also useful to determine the beam intensities over time or temperature at a fixed en-ergy (e.g., for studying phase transitions); a program for the analysis of LEED intensities should also provide this option.

7Commercial programs for extraction of I(V ) curves from LEED movies usually require selecting each diffraction maximum manually and are often restricted to rectangular regions of interest (ROIs) for intensity integration.Integer ROI coordinates can also lead to jumps of the measured intensity when the ROI moves by a single pixel.Some older programs are also restricted to 8-bit images, and do not take advantage of the high dynamic range of modern cameras (in our experience, about 13-14 bits with the Sony IMX174 sensor and 2×2 binning of pixels).Among developments by scientific groups, the EasyLEED program by Mayer et al. [13,14] is probably the most suitable development in this field.It is based on a Kalman filter for spot tracking and fitting Gaussians for intensity measurement.This open-source program requires manually selecting each diffraction maximum for measurement, which is a time-consuming and potentially error-prone task in the case of complex superstructures.The work of Sojka et al. [15][16][17] is based on carefully modeling the relation between the reciprocal lattice and the position on the LEED screen.After a manual step of roughly superimposing the experimentally measured and ideal lattice, this makes it possible to automatically assign (h, k) indices to each spot.While this program is mainly motivated by the desire for accurate measurements of positions in reciprocal space, it could also be extended for I(V ) measurements.To our knowledge, though, currently no full solution for I(V ) curve extraction based on this program is available.

8One problem in obtaining high-quality LEED I(V ) data comes from the grids of the LEED optics.There are at least two grids, a grounded grid facing the sample and a suppressor grid at negative voltage that repels electrons that have undergone substantial energy losses by inelastic scattering.It is more common to have three grids, and four grids are used in LEED optics that also serve as retarding-field analyzers [6].The grids absorb diffracted electrons hitting a grid wire, and moiré effects can occur from the stacking of differently rotated grids, which results in a spatially inhomogeneous transmission.In addition, further inhomogeneities can result from particles on the grids and dust particles on the camera sensor.In MCP (microchannel plate)-LEED systems, the MCP contributes to the inhomogeneous response.The grids also slightly deflect the electrons, which further complicates the problem.The current work shows how these issues can be mitigated by suitable calibration images (dark screen, flat field).

9Our set of programs was written with the aims of (i) making the extraction of I(V ) curves as user-friendly as possible, and (ii) obtaining the best data quality with respect to noise and artifacts.The program package is written in Java and based on the public-domain image processing program ImageJ [18], which ensures good performance and operation on all major operating sys-tems (Windows, Linux and MacOS).Details on the installation and use of the programs are provided in the Supplemental Material [19]; updates will be published on GitHub [20].

A. Data input

10Input files -The main ImageJ plugin is the Spot Tracker (Fig. 1).The main input are LEED movies (named image stacks in ImageJ); these can be opened by appropriate ImageJ commands (File>Open or File>Import>Image Sequence), thus any image format that can be read by ImageJ or one of its plugins can be used.The plugin package can also open .ziparchives (containing images and an index file with the list of images and metadata) created by the ViPErLEED data acquisition [11], as well as .vidfiles of the "AIDA" (Automatic Image and Data Acquisition) EE2000/EE2010 program [21].For these formats, the metadata such as energy, time, beam current I 0 and additional analog input channels are also read.When reading a collection of single images with File>Import>Image Sequence, these data can be decoded from the file names.The "Set Energies I0, t" button of the spot tracker panel also includes an option to enter these values as a linear function or read them from an ImageJ table.(In ImageJ, opening a comma-or tab-delimited file, .csvor .tsv,creates a table).It is also possible to specify an independent variable other than the energy.This is useful for intensity measurements during a phase transition as a function of time or temperature, at fixed energy.

11The mask -The spot tracker requires that the user provides a mask, which is an image that defines the usable area of the LEED screen [Fig.1(f)].This is a binary image, implemented in ImageJ as an 8-bit image with only two different pixel values occurring: 255 (black) for the foreground (usable) area and 0 (white) for the unused area.A utility for creation of such an image is available via the "More≫" button of the spot-tracker panel.The standard ImageJ selection and image-modification commands can be used to edit the mask.

B. Dark-frame and flat-field correction

12The spot tracker has provisions for dark-frame and flat-field correction of the LEED images, which can substantially improve the data quality.These corrections are standard in astronomical image processing [23] and in some applications of light microscopy, but not widely used in the LEED community.The aim of these corrections is reducing the effect of inhomogeneities of the LEED optics (grids, and microchannel plate, if any) and camera as well as subtracting background illumination, for instance, from the filament of the electron source.In the standard method, intensities are corrected pixel by pixel,

13where I main is the pixel intensity of the LEED image with the diffraction pattern and I dark is the pixel intensity of a dark frame.The dark frame is an image obtained without electrons reflected at the sample.I flat is the pixel intensity of the flat field, which is an image with uniform illumination.

14The dark frame is best obtained with the same filament current and screen voltage as the main image, but with a highly negative Wehnelt voltage to suppress all electrons.All other settings (exposure time, camera gain) should be the same as for the main LEED images.This ensures that the intensity of any stray light of the filament is the same for both the main LEED images and the dark frames, and, hence, this background intensity will be subtracted (together with the dark current of the camera).In some cases, there can be also a background due to field-emitted electrons from asperities on a grid [such as the bright spots in Fig. 1(d)], which will be subtracted by this procedure.When recording a full movie of energy-dependent dark frames and the LEED electronics provide a beam current (I 0 ) output, the I 0 measurement acquired with this movie conveniently provides the energy-dependent offset I 00 of the beam current (cf.Sec.

II H).

15For obtaining a flat field, one should have uniform illumination of the LEED screen with electrons coming from the same position as the reflected electrons forming the usual LEED image.This is not easy to achieve.The best option we found is placing a polycrystalline surface (e.g., the sample holder [24]) acting as a diffuse scatterer at the same position as the sample [25].The distance from the electron source to the surface must be the same for the main LEED I(V ) movie and the flat field.In other words, both, the sample and the polycrystalline surface must be exactly in the same plane for the respective measurements.Since the flat-field intensity is spread out over the whole screen, the flat-field images taken with the same settings as the main I(V ) movie of the sample might be rather noisy due to low inten-sity.In that case, one may use a higher beam current and/or longer exposure times than for the main I(V ) movie to ensure a sufficiently high intensity.Obtaining flat fields from a polycrystalline surface has the problem of angle-dependent scattering, typically with a maximum at 180 • scattering angle (backscattering); see Fig. 1(e) for an example.Thus, the correction in equation ( 1) would introduce a bias, attenuating diffraction intensities near the center compared with those at the periphery.For standard LEED I(V ) experiments, this will also lead to an apparent decrease of intensity towards high energies, because the beams move inwards.We therefore use a modified correction

16where the polynomial a ij x i y j is a fit to the logarithm of the background-corrected I flat − I dark2 values inside the area defined by the mask.A second-order polynomial would correspond to a 2D Gaussian distribution of the flat-field intensity; typically, we use a 4th-order polynomial for better uniformity of the flat-field correction while still maintaining the high spatial frequencies of the inhomogeneities.As the fit is done in the logarithmic domain we use fit weights proportional to the I flat − I dark2 value; otherwise low values would gain too much weight (especially if the logarithm is highly negative).The flatfield images should have sufficient brightness to ensure low noise; therefore, as mentioned above, the camera settings (gain, exposure time) for recording the flat field might be different from those used for the main LEED movie.In such a case, it will be necessary to obtain a separate set of dark frames with these settings, different from the dark frames for the main I(V ) movie.This is indicated by the "2" in I dark2 .If the same camera settings are used for the main I(V ) movie and for the flat field, the same dark frame(s) can be selected for both (i.e., I dark2 = I dark ).

17The dark frames depend at most weakly on the beam energy.(A weak dependence is possible if field emission from the last grid to the screen causes a background intensity and the voltage between the grid and screen varies with the beam energy.)If the dark frames are energy-independent, it is enough to average over a few dark-frame images to reduce the noise; otherwise a linear fit of each pixel intensity over energy is usually sufficient.These options are accessible via the "Dark&Flat Processing" button of the spot tracker.

18In the flat-field images, as mentioned above, the intensity is spread out over the whole screen, which leads to an intensity below that of the spots in the main LEED I(V ) movie, and, hence, higher noise.Therefore, noise reduction should be applied by smoothing the pixel intensity vs. energy; also this function is available in the "Dark&Flat Processing" options.It requires that the flat fields are acquired as an image stack with the same energy steps as the main LEED image stack.When using energy-dependent flat fields, but not a 2D fit for the flat-field intensity, the (I dark2 -corrected) flat field should be normalized, to avoid influencing the I(V ) data by the energy dependence of the diffuse backscattering, which creates the dark-field images.

19In our experience, the dark-frame/flat-field correction has a profound impact on the data quality.This is especially true for LEED measurements with the sample at room temperature, where the background from scattering by phonons is high and therefore its variations due to the grid wires and other inhomogeneities of the grids are clearly visible.The improvement of the background uniformity is also evident in LEED movies recorded at low temperature, where the background is low [compare the insets in Figs.1(a) and 1(b)].The correction especially improves the quality of the I(V ) curves of weak spots, where the background fluctuations have a comparably strong impact on the intensity measurements.Unfortunately, the correction cannot fully eliminate the influence of the grids on the beam intensities: The electrons get deflected by the lateral electric-field components of the suppressor grid: the grid meshes act similarly to electrostatic lenses.Since the flat-field correction is based on the position of the diffracted beam on the screen (recorded by the camera), which can deviate from the original direction of the diffracted electrons before they reach the grids, the flat-field intensity distribution at the screen cannot accurately describe intensity variations depending on where the electrons reach the grid.This is mainly a problem with highly focused beams (very sharp spots).The intensity noise caused by the modulation by the grids can be reduced by slightly defocusing the electron beam.This is only possible if the spots are sufficiently far apart for accurate determination of the background (see Sec. II D), and the background of inelastically scattered electrons is low.(Otherwise, weak, smeared-out spots will not stand out high enough over the background.)A further method to reduce the noise due to the grid structure is averaging LEED I(V ) curves obtained from movies with slightly different azimuthal rotation of the sample (if the sample manipulator allows this) or slightly different distance to the sample (1-2 mm shift is sufficient; in this case also a flat field should be recorded for each distance).

20The flat-field correction also increases the usable screen area near the electron source.Since camera lenses with a large aperture are required for good photon collection efficiency, the outline of the electron source appears blurred in the images because it is out of focus [Fig.1(a)].The flat-field correction compensates for the reduced intensity recorded where the screen is partly hidden by the electron source.Thus the mask of usable screen area (see below) can extend closer to the edge of the electron source than without flat-field correction, and the usable energy range of spots disappearing behind the electron source is extended.

21Implementation notes -All operations on the input image stacks are implemented as ImageJ VirtualStacks, which means that the processed images are not necessarily kept in memory but rather read from disk and calculated on the fly as required.Only the final result I corr is cached in memory as long as there is enough RAM (using the Java SoftReference mechanism and prefetching).This ensures that even very large image stacks can be handled while good performance is achieved when there is sufficient memory.

C. Distortion correction for identification of the spots

22Polynomial fits -A LEED pattern is essentially a 2D map of the reciprocal space, with some distortions that come from various sources: The point where the incident beam hits the sample may not exactly coincide with the center of curvature of the LEED grids and screen, the camera is not at infinite distance and not necessarily aligned with the axis of the incident electron beam, the grids and/or screen may deviate from the ideal spherical-cap shape, there may be residual electric and magnetic fields, and the sample may be tilted.Some of these sources of distortions should be clearly minimized when acquiring LEED I(V ) data.(Usually normal incidence of the electrons on the sample is desired, and stray fields must be avoided.)Nevertheless, it is not possible to avoid all sources of distortion.Many sources of distortion can be modelled [15,16], but this is rather cumbersome for the general case.Therefore, we took a more simplistic approach: We fit the pixel coordinates x, y with a polynomial function of the reciprocal-space coordinates k x , k y ,

23The polynomial order N is chosen adaptively (see below); the maximum order supported is 5 th order.In addition to polynomials with all coefficients up to a given order, the program also includes models where the highest-order terms only depend on the reciprocal-space distance from the (0,0) spot, but other high-order coefficients are left out:

24and

25These two types of fit polynomials are suitable in case of normal incidence and mainly radial distortions.They offer the advantage of handling radial distortions with fewer fit parameters (10 and 24) than the full third-and fifth-order polynomial fits (20 and 42 parameters, respectively), thus they do not require as many spots as the full third-and fifth-order polynomials in Eq. 3.

26The spot pattern file -Correlating the spots on the screen and the reciprocal-space coordinates requires a list of beams for the structure.This list must be provided as a spot pattern file.For each beam, it lists the designation and the indices h and k, the Cartesian reciprocal-space coordinates g x , g y (in arbitrary units) and a beam-group index (symmetry-equivalent beams belong to the same group).This file can be created with the LEED pattern simulator of the ViPErLEED GUI, supplied with the ViPErLEED data acquisition [11].There, the lattice and overlayer symmetry can be entered manually or taken from the output of the ViPErLEED simulation program [12] (experiment-symmetry.ini file).

27Identification of the spots -In practice, for determination of the fit coefficients of Eq. ( 3), the user has to select an energy where many spots can be seen, preferably including spots near the edges in many different directions from the center.To aid this procedure, spots with sufficient brightness are marked by circles after pressing the "Set Indices" button.The spots are found as local maxima with a threshold (for noise suppression), based on the Find Maxima function of ImageJ, and their positions are refined as described in Sec.II D. In the next step, the user has to select one of these spots and enter its (h, k) indices.If only one spot is known, the program will assume that the (0,0) spot is in the center of the screen (given by the bounding box of the mask area described above) and search for additional spots, starting with those closest in reciprocal space to the initial spots.At first, a purely linear relationship will be tried.Whenever a new spot has been identified, the fit in Eq. ( 3) is repeated with the new spot included.If there are enough spots for obtaining higher-order polynomial coefficients, the program attempts fitting with a higher-order polynomial [including the functions in eqs.( 4) and ( 5); in the sequence of increasing number of fit parameters] and uses the higher order if the goodness of fit improves (taking into account that a larger number of fit parameters will reduce the residuals).

28Since the polynomials in Eq. ( 3) are not necessarily monotonic, it can happen that the polynomials map highorder spots far outside the screen (or even non-existent at a given energy) to a position inside the LEED screen.If such a position happens to coincide with a lower-order spot (or a defect of the screen that is mistaken as a spot), this will cause misidentification of that spot (or defect).The program therefore contains provisions to discard the calculated positions in such a case: A spot position obtained from Eq. ( 3) is accepted only if the nonlinear terms in the polynomial do not "deflect" the direction of spot motion with increasing energy by more than 30 • (with respect to the direction calculated from the linear terms).This prevents misidentification of spots in cases where the calculated position folds back to the screen area (like the "down" branches of an x − x 3 polynomial).For 5 th -order polynomials, this condition is not sufficient.For spots actually visible on the screen, the 5th-order terms are only a small correction (even for offnormal incidence).The 5 th -order terms can become large for spots that are actually far outside the screen area, and make the polynomial fold back and forth across the LEED screen (like x − x 3 + x 5 /5, which has a three zeros with positive slope).Therefore, for 5 th -order polynomials, it is also required that the derivatives of the respective 4 th -order polynomial (without the 5 th -order terms) fulfill the same condition as the full polynomial.

29For (almost) normal incidence, it is usually sufficient to manually enter the (h, k) indices of one spot; the program then automatically identifies all the others.In some cases, especially far from normal incidence, it may be required to select several spots and enter their (h, k) indices manually.We have successfully tested the program with up to 20 • off-normal incidence, where correct identification of all spots usually requires manual input of the (h, k) indices for 3-4 spots.Apart from the spot labels shown on the image, a correct identification can also be inferred from low values of the root-mean-square (rms) residuals of the pixel positions with respect to the polynomial fit, as calculated and displayed by the program.Typical rms residuals are ≲ 0.2% of the image width (1 pixel for a 512×512 pixel image).

D. Analysis and intensity evaluation of a single diffraction maximum

30Analysis of a single spot has two major aims, determination of (i) the position and (ii) the intensity.The problem of spot analysis is comparable to photometry of single stars in astronomy, and there are two basic approaches [26]: Aperture photometry and fitting of a point spread function (PSF).The PSF is the intensity distribution that one would obtain for an idealized (δ-like) maximum.In principle, PSF fitting has the potential of better accuracy in terms of both position and intensity, but it requires knowledge of the PSF.(In astronomy, stars are almost perfect δ functions, all smeared out the same way by atmospheric turbulence and the optics; thus the PSF can be obtained by averaging the images of a few bright stars without nearby background objects.)For LEED diffraction maxima, the PSF cannot be determined for several reasons.(i) Due to deflection of electrons by the suppressor grid and electron capture by grid wires, the spot intensity profiles show modulations caused by the grid.These modulations depend on the position on the screen.(ii) Due to the curvature of the screen, spots are distorted towards the edges of the screen.(iii) On samples with a high step density (step-step separation less than or comparable to the transfer width of the instrument), the width of the spots depends on their index and the energy in a non-trivial way.(Assuming kinetic theory, broadening occurs at out-of-phase conditions [27].)(iv)

31The background due to scattering by phonons is not constant but increases towards the spots [28].This makes it difficult to separate the contributions of the spot and the phonon background.Instead of using a pre-determined PSF, one can also use independent 2D Gaussian fit functions for each spot [13], but this approach becomes difficult at low intensities, where the fit is ill-defined and further complicated in case of a sloping background.

32The other approach to spot analysis is known as aperture photometry (Fig. 2) [29], and in astronomical image processing it was shown that its accuracy for intensity measurements can be comparable to or even surpass PSF fitting [30].Aperture photometry integrates the intensity over a (usually circular) disk; the background intensity is taken from an annular area around the integration disk.In the most simple case, the average of the pixel intensities in the background area is taken, but other schemes like median, histogram centroid or statistical mode are also common [29].For the background of LEED spots, different methods of evaluating the background intensity were compared in Ref. 31; good results were achieved with fitting a linear or 2 nd -order polynomial in x and y.The profile of a LEED spot decays rather slowly at large distances r from its center (1/r or 1/r 2 ) [28].A 2 ndorder polynomial does not provide a good description of this decay.Compared to a linear fit, 2 nd order also has the disadvantage of more free parameters, which tends to increase the noise.Therefore, the program uses a linear function in x and y to fit the intensity in the background area.This ensures that the measurement is independent of the gradient of the background [32].

33In astronomy, where the distance between the stars is often much larger than the size of the PSF, it is common to use an inner radius of the background annulus that is larger than the outer radius of the integration disk for the star intensity.Thus, there is a dead zone in between.For the analysis of LEED spots, we use a few modifications of this scheme.The program offers three different geometries for the integration and background areas.

34The first is an annular background with the inner radius equal to the radius r i of the integration disk, and an outer radius of √ 2r i [Fig.2(a), named "circular" in the program].Thus, the background area is equal to the integration area.This choice was motivated by the following consideration about noise: If the spot intensity vanishes, the noise obtained in the integration disk and the background annulus (by averaging) are equal.Thus, the spot-minus-background noise is higher by a factor of √ 2 than the noise obtained from integration over the inner disk [33].If the spot intensity is higher, the influence of the background noise on the I(V ) curves will be less, since both the shot noise and spot intensity modulations due to the grid increase with intensity.In contrast to astronomical aperture photometry, we do not use a dead zone between the integration disk and the background area.The main reason is the non-uniform background in LEED (see Fig. 1).If the background is a nonlinear function of x and y, the non-uniformity induces a back- ground error that increases with increasing radius of the background annulus.The other reason for having a small background annulus is trivial: For complex LEED patterns and high energies, the distance between the spots becomes small, and the background area of one spot must not overlap with the neighboring spots.The oval background is second type of background area available in our program.It does not use a circular outer boundary but rather an ellipse with the semiminor axis equal to the radius of the integration disk and the semimajor axis twice as large [Fig.2(b)].As in the case of the annular background, the inner boundary is given by the integration disk, and the background is averaged over as many pixels as the integration disk of the spot.The major axis of the ellipse is in the tangential direction (we simply take the center of the bounding box of the mask as the center).The main advantage of this background type (named "oval" for short) is better suppression of radial variations of the background intensity compared with the annular background.This is especially valuable for some channel-plate LEED optics, where concentric ringlike artifacts in the background intensity occur.The oval background is also valuable for standard LEED instruments, due to the (nonlinear) decrease of background intensity from the center of the screen.An additional bonus of the oval background is a slightly increased usable energy range in most cases: If a spot is close to the outer edge of the LEED screen or the electron source, but its integration disk is still inside the usable screen area (the mask), an annular background area may reach beyond the screen and prevent a well-defined measurement.The oval background area protrudes only in the tangential direction and can be fully evaluated until the integration disk of the spot touches the edge [34].The oval background is inferior to the annular one in case of very crowded LEED patterns, because neighboring spots will typically enter the oval background area due to its larger extension in the tangential direction before they would affect the annular background.The oval background is also less suitable than the annular one if non-radial background variations are dominating, such as background variations due to short-range order or phonons: The oval background reaches out further than the annular background area, thus it is more sensitive to non-radial background variations that are a nonlinear function of x or y.

35Azimuth blur mode -Finally, there are situations where the spots are blurred in the azimuthal direction.This happens in the case of overlayers with poorly determined azimuthal orientation.For this case, we offer an option that is close to the circular geometry in the vicinity of the (0,0) spot, but the integration area becomes elongated in the tangential direction at larger distances from (0,0), see Fig. 2(c).For simplicity, we use an elliptical integration area, not an arc; this limits the blur angle to small values (a few degrees).In this geometry, one should not measure the background intensity all around the integration ellipse; in the tangential direction the background evaluation area would be too far from the spot center and therefore the measurement would become very sensitive to spatial variations of the background.For high eccentricity, we therefore use the geometry shown at the right side of Fig. 2(c), where the outer border of the background area is an ellipse touching the integration ellipse at the vertices (in the tangential direction).For this geometry, we take a smaller ratio between the background and integration areas than in the circular and oval case, to limit the influence of nonlinear variations of the background in the radial direction: As soon as the ratio between the major and minor axes of the integration ellipse exceeds √ 2, the minor axis of the outer background border is limited to √ 2 times the minor axis 2r i of the integration disk.This results in a ratio between background area and integration area of 0.41.For more circular integration ellipses [closer to the (0,0) spot], we use a circular outline of the background, with a radius of √ 2 times the semiminor axis of the integration ellipse, see the two left cases in Fig. 2(c).This results in our usual "circular" geometry close to the (0,0) spot, where azimuthal blurring is negligible.

36Both the position of the integration and background areas and their borders are calculated with subpixel accuracy.For integration, pixels in a one-pixel-wide zone at the border are weighted between 1 (inside) and 0 (outside that zone).This avoids jumps that could otherwise occur in case of very sharp spots and small integration areas.

37Spot analysis is not only used for intensity measurements but also for determining the exact spot position; this is required for fitting the polynomial model in Sec.II C and when tracking the spots (section II E).For this purpose, it is important to fit a linear background in the (oval or annular) background area.After subtraction of this background, we determine the position of the cen-ter of mass inside the integration disk.This process is repeated iteratively until convergence (iteration step less than 0.3 pixels) or aborted if the new position deviates too much from the initial guess (this can happen when searching for a spot with vanishing intensity).

38In addition to integrated intensity and position, spot analysis also yields an estimate for the spot size derived from the second moments inside the integration disk.The program gives the spot size as standard deviation σ assuming a 2D Gaussian [35]; the sizes in the radial and tangential directions are given separately.Finally, we also extract a measure of significance, which depends on the ration of the spot intensity and the standard deviation of the background (after subtraction of a linear background); this value is used to obtain smoothed spot positions (section II E).

39The integration radius -The choice of the integration radius depends on the spot size and whether spots come close to each other at high energies.It has been suggested to use an adaptive integration area that only encompasses the region where the spot can be clearly discerned from the background, thus shrinking the area with decreasing intensity [36].This approach has the advantage of reducing the noise for weak spots, but it is problematic because it introduces a bias: For weak spots, only very center will be inside the integration area and the remaining intensity discarded.Thus the intensity of weak spots will be underestimated.Therefore, we use an integration disk with a radius that does not depend on the intensity.For a 2D Gaussian with a standard deviation of σ, illustrated in Fig. 2(d), 86% of the intensity is contained in a circle with a radius of 2σ.Using an annular background as described above, most of the remaining intensity will spill into the background annulus and increase the background, reducing the integral-minus-background measurement to 75% of the total intensity.As long as the shape of the intensity distribution stays the same, this factor is constant and has no detrimental effect on the I(V ) curves, where absolute intensity is not important.While the optimal radius of the integration disk in astronomical photometry is lower (≈ 1.6σ, Ref. 26), we consider 2σ the minimum integration radius for a good LEED intensity measurement.The reason for the difference lies in the fact that astronomy deals with a roughly constant PSF of stars, while the shapes of the LEED diffraction maxima change, due to deflection and capturing of the electrons by the grid.Furthermore, astronomy uses a dead zone between the integration disk and the background annulus, which is impractical for LEED (see above).The grid-related noise increases with decreasing size of the integration area.In our experience, this increase becomes significant at r i ≲ 2σ.Therefore, if the distance between the spots at high energy allows it, the integration radius should be chosen slightly larger than 2σ.On the other hand, for weak spots, the noise of the measured intensities increases with increasing size of the integration disk (the image noise is integrated over a larger area).The signalto-noise ratio of the measured intensities will typically have a minimum at a radius close to or somewhat larger than 2σ.In addition, as mentioned above, the impact of nonlinear background variations increases as the background evaluation area becomes larger.Even in cases of extremely low background and low camera noise, the integration radius should not be chosen larger than about 3σ (1.5 times the lower limit), since the increased sensitivity to background variations outweighs any advantage from the marginally reduced grid-related noise.

40Usually, the spot size is energy dependent.It increases towards lower energies because of less perfect focusing of the electron beam (phase space and space charge effects), but also due to the increasing influence of finite sizes of the domains or terraces on the sample surface.We therefore use an energy-dependent radius r i of the integration disk

41where r ∞ is the radius at very high energies (assumed to approach a constant value) and r 1 describes the increase of the radius towards low energies (for E in electronvolts and r 1 ≫ r ∞ , r 1 would be the radius at 1 eV).

42In the case of superstructure domains, the superstructure spots may be less sharp than substrate spots; this can be accounted for by choosing separate r 1 values for integer-order and superstructure spots.(In the "Set Integration Radius" input, for convenience, the user is asked to enter r ∞ and the radius r i at the lowest energy of the LEED image stack, not r 1 .)In "azimuth blur" mode, the semimajor axis of the integration (and background) ellipse is calculated by essentially the same equation, we only add (α az d spot−(0,0) ) 2 to Eq. ( 6).Here, d spot−(0,0) is the distance between the spot of interest and the (0,0) spot, and α az is the blur angle in radians (assumed to be small, tan α az ≈ α az ).Thus, the major axis of the integration ellipse is ≈ r i near the (0,0) spot and dominated by the α az -dependent term for large distances from the (0,0) spot, as shown in Fig. 2(c).

E. Spot tracking

43In a standard LEED experiment, the spots move radially with energy, with the distance from the (0,0) spot proportional to 1/ √ E. Since spots can disappear over some energy range (if the intensity vanishes), it is necessary to take this motion into account when tracking the spots.Our approach starts at the energy where the fit for the spot pattern was obtained (Section II C), and then continues searching at increasingly higher energies, thereafter descending the full energy range, and ascending again.At each energy, we make use of the spot pattern file to search for all spots in that file.Searching the full energy range both up and down makes sure that each spot will be tracked, provided that it can be found at any energy.When searching for spots that were not detected so far (or not detected at nearby energies), we follow two strategies, trying (i) the positions calculated by the polynomial fit in Eq. ( 3), scaled with 1/ √ E, and (ii) a corrected position obtained from nearby spots already found.For these nearby spots, we calculate the deviations of their positions from the polynomial model.A linear fit of these deviations (as a function of k x and k y , with weights decreasing with distance) yields a correction for the coordinates of the spot that we search for.This procedure corresponds to setting up a local coordinate system determined by the nearby spots, but still taking the overall nonlinear distortions of the LEED pattern into account.The latter approach is especially valuable at very low energies, where the deviation between calculated and actual positions can be large (because of residual magnetic or electric fields, but also due to the large 1/ √ E scale factor between reciprocal-space coordinates and real-space positions).As soon as a given spot is found, its deviations from the polynomial model are kept for searching it at the next energies.If a spot has not been detected over a large energy range (default 30 eV), these deviations may be unreliable and the polynomial model with corrections from the neighbors is also tried to find the spot (as if it were a spot never detected before).The code also includes plausibility checks for the spot positions.For example, the position is considered invalid if large jumps occur or if the position deviates too much from the polynomial fit.In case of doubt, uncertain positions are marked; these beams can be deleted from the analysis ("More≫" menu).

44The spot positions obtained this way are smoothed in two passes.Smoothing uses a linear fit of the deviations from the polynomial distortion model in Eq. (3) as a function of 1/ √ E, in a neighborhood of typically 30 eV from each energy.Apart from the choice of 1/ √ E as the independent variable, this smoothing method is akin to a first-order Savitzky-Golay filter [37].To avoid a large impact of inaccurately determined spot positions near the intensity minima, the fit uses weights related to the spot significance, as introduced in Sec.II D. The first pass bridges gaps where a spot is invisible or only weak.(If there are no or not enough valid points at both sides, the energy range for fitting is extended to include enough points.)The linear fit also provides some extrapolation beyond the energy range where the spot was observed with sufficient significance to determine its positions.Extrapolation to high energies can sometimes lead to large slopes and, therefore, large deviations from the polynomial model.To avoid this problem it is beneficial to use an additional low-weight data point with zero deviation from the polynomial model for 1/ √ E = 0.The second pass provides additional smoothing, with fit weights derived from the uncertainty of the fit results from the first pass.For obtaining the final (smoothed) spot positions, the fit results for the deviations are added to the positions calculated from the polynomial model in Eq. ( 3).

45The choice of 1/ √ E as the independent variable in the linear fits is justified by our experience that the deviations from the polynomial model can be usually ap-proximated as linear functions of 1/ √ E. Thus, especially at low energies, this method provides much better results than smoothing methods not taking this 1/ √ Edependence into account.

46The spot tracker also has a mode for LEED movies obtained at constant energy, typically used for analyzing a phase transition as a function of time or temperature.In this case, spot tracking may be necessary because thermal expansion of the sample or small movements of the sample holder due to its thermal expansion can cause the spots to move.This case is handled the same way as a standard tracking experiment, but without the 1/ √ E radial motion, and the image number replaces 1/ √ E as the independent variable in the smoothing of spot positions.

47The spot tracker also features a LEEM (low-energy electron microscope) mode.In LEEM diffraction movies as a function of the energy, the spot pattern remains essentially stationary and spots move a few pixels at most.Thus, the LEEM mode works the same way as the analysis of LEED experiments at constant energy.Currently there are no provisions for automatic handling of the energy-dependent range of reciprocal space imaged by a LEEM instrument.(This would require a mask that changes with energy.)Therefore, if beams are invisible at low energies, their low-energy limit must be manually selected when editing the I(V ) curves.

F. I (V ) curve measurements

48The extraction of I(V ) curves uses aperture photometry (Section II D) at the smoothed spot positions described in the previous section.Having smoothly varying positions for the integration disk (and background) helps to obtain smooth I(V ) curves, without artifacts from jumps of the position of the integration area.As described in the previous section, these smoothed positions are also available for energy ranges with very low intensity of a given spot, where the images do not provide a reliable position.

49Especially for superstructures, a frequent problem is having weak spots close to a strong one.In this case, the tails of the intensity distribution of the strong spot will lead to a curvature of the background intensity for nearby spots.Since we use a linear fit for the background, this can lead to apparently negative intensities of the weak spot.In this context, it is important that LEED diffraction maxima can be approximated by Gaussians only near the center (when ignoring the modulation by the grid).In the periphery we typically find a Lorentzian-like decay of the intensity with 1/r 2 , where r is the distance from the center of the spot.This is in agreement with the expectation for kinematic scattering from phonons above the Debye temperature [28][38].The 1/r 2 background implies that the tails of bright spots reach out rather far; this is the reason why they often affect the intensity measurement of nearby weak spots.Therefore, our program provides an option to subtract the tails of the strong spots before measuring the weak ones.For this purpose, the spots are measured in order of decreasing intensity, and for each spot, after intensity measurement, a 1/r 2 background is fitted in an annular region between r i and 2r i .This background is subtracted from the image in a large region around the spot before the next (weaker) spot is measured.In our experience, this background subtraction procedure eliminates the majority of minima reaching below zero in the I(V ) curves.

G. Assessment of the data quality

50Besides the I(V ) curves, spot tracking produces a number of diagnostic plots, which help the user to assess the validity and quality of the data and optimize the choice of the parameters.One such plot shows the spot radii σ (see Sec. II D) as a function of energy, together with a line at half the integration radius (separate for integer and superstructure, when different).This plot can be used to verify that the integration radius is chosen such that it is least 2σ, as discussed in Sec.II D.

51A further plot (Fig. 3) shows statistics useful to assess the quality of the I(V ) data [39].The blue points show Pendry's R factor [7] between pairs of symmetryequivalent beams as a function of average beam intensity.(The I(V ) curves are smoothed for this using a 4 th -degree modified sinc smoother [40]).Since beam intensities typically decrease with increasing energy, and the intensity affects the signal-to-noise ratio, the I(V ) curves are split into sections of ≈ 100 eV and each of these sections is analyzed and plotted individually.

52The I(V ) data quality plot also includes an additional curve useful for judging the data quality (dark blue in Fig. 3): This curve displays the total energy range of all pairs of symmetry-equivalent curves (split into ≈ 100 eV sections) where the R factor does not exceed a given value (this value is the y coordinate).The lower this curve, the better the agreement between equivalent beams.This curve is helpful for comparing data taken for the same system with different acquisition parameters or different spot tracking parameters.For instance, one can investigate the influence of the radius of the integration disk on the noise.Since the x axis of this curve is the total energy range of the "good" data, most of this curve is not influenced by parameters that lead to elimination of the worst (e.g., most noisy) parts of the I(V ) curves.This makes it easy to obtain a valid comparison of data sets that include different energy ranges, such as one set containing low-intensity regions that are missing in the other set.(For comparison, curves can be copied from one ImageJ plot to another by "Data≫Add from plot...".)

53The quality plot can also help when optimizing the voltage of the suppressor grid.This can be done by comparing the mutual R-factors obtained from I(V ) movies acquired with different suppressor voltages.When the influence of electron capture and/or deflection by the grids on the I(V ) curves is minimized, the agreement Markers for regions with negative intensity in I(V) curves.Should be only at the bottom left.

54Symmetry-equivalent pairs with mutual R P < 0.1 encompass a total energy range of 1.15 × 10 1 keV.FIG. 3. Output plot of the spot tracker for assessing the quality of the I(V ) curves.This plot combines several aspects of the data.R-factors between pairs of symmetry-equivalent beams are blue dots.Typically, high-intensity beams (at the right) have lower R-factors than low-intensity ones.(The latter are more affected by the noise.)A summary of I(V ) curve regions with negative intensity is in red.For the red and blue data points, the x axis is the intensity (average over ≈ 100 eV regions for the blue points of R vs. intensity); the intensity is normalized such that the highest intensity in any I(V ) curve is 1000.The dark-blue curve "R Pendry vs. total pair E overlap" allows a quick comparison of different data sets (lower is better).For this curve, the x axis is the cumulative energy range of all pairs of symmetry-equivalent beams with an R factor better than the y-axis value at that position of the curve.(ImageJ currently does not support dual x or y axes, thus the double use of the axes.) between symmetry-equivalent beams is best.Since insufficient electron repulsion by the suppressor grid leads to an increase of the inelastic background, it is advisable to select the suppressor voltage on the strong-suppression side of the R factor minimum, especially if the inelastic background is high and defocusing by the suppressor grid is not an issue.

55Of course, comparing equivalent beams does not provide information on systematic effects that affect the equivalent beams the same way.For example, if the integration radius is too large, nonlinear variations of the inelastic background or the intensity tails of neighboring bright spots may affect the intensity of symmetryequivalent curves in the same way; this cannot be detected via the R factors between symmetry-equivalent curves.To diagnose at least one of these problems, the plot also contains statistics on I(V ) curve regions where the smoothed intensity is negative (red in Fig. 3).The x axis of these points gives the absolute value of the most negative intensity, and the y axis gives the total energy range (per beam, in kiloelectronvolts) where the intensity is negative.Thus, high-quality data are characterized by few (or no) red points.If there are any red points, they should be close to the bottom left.If data obtained with an oval background (see Sec. II D) are badly plagued by negative intensities it is usually better to choose a circu-lar background instead.

56The plots generated when tracking spots also include a set of selected I(V ) curves of symmetry-equivalent spots (useful to check alignment).There is also a plot stack (i.e., a set of plots) of the deviations of the spot positions from the polynomial model in Eq. ( 3) to check spot tracking.In addition, the user can plot a large number of quantities for a single beam, a few beams, or the overall measurement (available via the "More≫" button of the spot tracker panel).

H. The beam current I 0

57Since the electron beam current I 0 usually changes during a LEED experiment, the raw intensities measured should be normalized by dividing by I 0 .The beam current I 0 measured by LEED electronics can have an offset, which may be a substantial fraction of I 0 at low currents (especially for microchannel-plate LEED optics, where beam currents are a few orders of magnitudes lower than for standard LEED).This offset is named I 00 and may depend on the energy; the program can subtract it from the measured I 0 values.

58Any noise of I 0 will affect the final I(V ) curves.To avoid this problem, it is possible to smooth the I 0 − I 00 curve.These options are available via the "Set Energies, I0, t" button [Fig.1(c); typical data are shown in Fig. 1(g)].Smoothing uses a th -degree modified-sinc kernel, which is similar to Savitzky-Golay filtering but provides better noise suppression and is less prone to overshoot at boundaries [40].In some cases, sudden jumps of the electron intensity occur.(One possible reason is thermal expansion of some part of the electron source, leading to sudden movement when it overcomes static friction.)In such a case, smoothing of the electron current would smooth out the jump and result in an improper normalization.Such jumps can be also detected in the background intensity of the LEED images far from the spots, especially if the background is high (e.g., if the sample temperature is comparable to or higher than the Debye temperature).For these cases, the user can choose to take the rapid variations of the background (which tends to have low noise because it is the average over a large number to pixels [41]) and apply these variations to the smoothed I 0 values,

59where I b is the background intensity and S represents the smoothing operator.The fraction I b /S(I b ) in Eq. ( 7) is similar to a high-pass-filtered version of the background intensity with a baseline shifted to unity.If I b is proportional to the I 0 − I 00 (i.e., if I b has the same energy dependence as the measured beam current), Eq. ( 7) ensures that the corrected I corr 0 values will be proportional to I 0 −I 00 ; otherwise the slow variations of I 0 −I 00 are combined with the fast variations of I b .In many cases, we find that the background intensity varies with energy in a manner similar to I(V ) curves, albeit with a lower relative amplitude of ≈ 20%.A large portion of these background variations comes from stray light from very bright spots.If these variations are substantial, only rapid variations of the background intensity should be used for I 0 correction.According to Eq. ( 7), this means that only mild smoothing should be used for I 0 − I 00 (e.g., a smoothing parameter of 10 points for 0.5 eV energy steps [42]).The effect of the correction can be examined after spot tracking by plotting I 0 and I corr 0 (available via the "More≫" button).

I. More spot-tracker features and utilities

60To enhance usability, the spot tracker contains additional features, available in the "More≫" menu of the spot tracker panel.These include highlighting specific beams (to find and follow them easily in the LEED movie), and deleting beams in the output (fully or within some energy range).The "More≫" menu also has an entry to list the current values of all parameters, together with the respective default values.The parameters are also written to a .logfile upon saving data.The parameters can be also read from .logfiles, for processing the same or related data with identical parameters.

61A further function of the spot tracker is undistorting one of the LEED images in the movie or the full movie, based on the polynomial model in Eq. ( 3).The undistorted image stack can be created with a fixed k-space scale; then the spots do not move with energy.Averaging the images ("slices") of such a stack over some energy range (or even the whole stack) provides an "average" LEED image with a high signal-to-noise ratio; also the adverse effects of the grids will be averaged out.

62In addition, the package includes several utility plugins for handling I(V ) curves: averaging I(V ) curves, stitching curves with different (overlapping) energy ranges, resampling to a different energy step, (energy-dependent) intensity corrections, and R factor calculations.A typical application of these utilities is mentioned in Sec.II B: Noise reduction by averaging the I(V ) curves obtained with slightly different distance between the LEED optics and the sample.This is an efficient way to reduce the influence of the grids: In each movie, the electron beam of a given diffraction maximum reaches the grids at a slightly different position.Averaging uses the algorithm described in Sec.II J, which includes smooth fading in or fading out if the energy ranges of the curves differ.

63Most functions of the spot tracker and utilities can be controlled via the ImageJ macro language.Automation is simplified by the ImageJ Macro Recorder, which records the macro commands corresponding to a given workflow during manual operation.

J. The I (V ) curve editor

64The I(V ) curve editor (Fig. 4) is used for the final steps before the experimental I(V ) curves can be used for comparison with "theoretical" curves in structure optimization.These steps include averaging between symmetry-equivalent beams, selection of the useful data (sufficiently low noise, reasonable agreement between inequivalent beams), smoothing, and examination of the data.As described in the following, these steps are at least partly automated.This allows handling large data sets with hundreds of symmetry-inequivalent beams in a short time.

65Curve averaging -When averaging the I(V ) curves of symmetry-equivalent beams, the individual curves usually encompass different energy ranges.If a curve begins or ends within the energy range selected for the output, it is important to avoid jumps of the averaged intensity where that curve begins or ends.Therefore, before averaging, the curves are normalized and slow trends in the intensity ratio between the beginning and end of these curves are equalized.In addition, we use smooth fading in and/or fading out of the I(V ) curves that do not span the full energy range required for the output: Shorter curves use a linear increase or decrease of the weight in the averaging process at the respective end.(We use the imaginary part V 0i of the inner potential as an indication of a typical energy scale for variations in the I(V ) curves [7]; e.g. the increase or decrease of the weight is over an energy interval of 4|V 0i |.)

66Selection of data -As mentioned in the introduction, a large database of experimental beams is important for a reliable structure analysis.[Therefore, the I(V ) curve editor displays the total energy range of symmetryinequivalent beams selected in the status line at the bottom, unless the mouse pointer is at a button; then the status line displays information related to that button.]Selecting the data range is a compromise between a large database and rejecting low-quality data that increase the R factor and do not help in the structure optimization.

67As an aid for selecting the useful data, the I(V ) curve editor does not only plot the original data and the (smoothed and unsmoothed) average over the symmetryequivalent beams, but also the Y function of Pendry's R factor R P [7].According to current knowledge, Pendry's R factor is the method of choice for experimentsimulation comparison; in structure optimization it yields more accurate results than R 2 , which is based on the squared difference of the normalized I(V ) curves [43].R P is based on a comparison of the Y function between experiment and theory.The Y function is given by

68where V 0i is the imaginary part of the inner potential (typically, |V 0i | ≈ 4 to 5 eV) [7].Y is a nonlinear function of the logarithmic derivative L of the I(V ) curves.Thus, it is not directly obvious to what degree the Y function is influenced by noise and how it depends on smoothing.

69Plotting the Y function allows the user to avoid data regions where R P is strongly influenced by experimental noise and to examine the impact of smoothing on Y .Manual selection of the "good" beams and their useful energy ranges can be a cumbersome task, especially if there are hundreds of symmetry-inequivalent beams.The I(V ) curve editor therefore provides an option for automatic selection.The main basis for this analysis is an estimate of the noise of the Y function, which is done by an R factor-like comparison between the Y function of the raw data and that after slight smoothing.As explained in Ref. 7, the width of the features in an I(V ) curve is determined by |V 0i |.A smoothing parameter of 0.55| V 0i | leads to almost no noticeable change of lownoise I(V ) curves; therefore we use this smoothing parameter for the comparison with the Y function of the raw curve.The comparison is made point by point and then smoothed by a running-average filter with a window length of 2|V 0i |.With proper scaling, this procedure gives an estimate r n (E) of the local contributions of the noise in the I(V ) data to the overall R factor, assuming that the R factor is dominated by noise [44].[The user can select in the options menu to plot the noise function r n (E).]Automatic selection of the beams and energy ranges (i) selects only curves or energy ranges where the average of the noise contributions r n (E) is below a given limit R limit and (ii) maximizes a figure of merit (FoM), given by

70where E min and E max are the bounds of the energy range selected for a given beam and the angle brackets denote the average over that energy range.For very low noise values r n (E), the constant c ensures that the FoM depends only on the energy range, not on minor changes of the noise (we use c = 0.5 R limit ).Maximizing the FoM results in a large energy range, but penalizes energy regions with a high noise that would strongly increase the R factor (high values of the denominator).For low-noise data, the denominator is dominated by the constant c, and only the energy range is maximized.A typical choice of the noise limit is R limit ≈ 0.05; lower values are required for data with excellent agreement between calculated and experimental I(V ) curves (R P ≲ 0.1) to avoid compromising the R factor.

71In addition to the noise-dependent part, automatic selection of beams and energy ranges also takes care of regions of negative intensity that result from uneven background.(We only consider negative intensities after smoothing, since noise may also cause negative intensities.)R P is only defined for non-negative intensities I.

72To avoid negative values, a simple strategy is adding the absolute value of the most negative intensity to the I(V ) curve.Since Y is a nonlinear function of the intensities (and their derivatives), such an upshift of the intensities affects Y also in the regions where negative intensities 4. Screenshot of the I(V ) curve editor."Group" refers to a set of symmetry-equivalent beams.The buttons marked by arrows at the right side provide additional functionality with right-clicking (e.g., setting a parameter for all groups).Note that the intensity (y axis) scale is chosen such that the highest spot intensity in the set of all I(V ) curves is 10 3 ; even an intensity of 1 on this scale (0.1% of the brightest spot) is sufficient for reasonable data quality.This y axis scale only applies to the intensities, not to the Y function of the R factor, which is always shown in the same place at the top of the plot, irrespective of the y-axis scale.

73do not occur.We therefore calculate the R factor between the original and the upshifted curve in the positiveintensity regions.If this R factor is too high (above R limit ), instead of upshifting, we exclude the negativeintensity region and its immediate vicinity.The noisedependent selection then proceeds as described above.Since we limit ourselves to I(V ) curves with a contiguous energy range, the FoM determines whether the energy range below or above the negative-intensity region is used.Typically, the ratio between background and intensities increases with energy, thus negative intensities occur more often at high energies and the low-energy side gets selected.

74Noise-dependent smoothing -For large data sets, noise-dependent adjustment of the smoothing parameter can be a lengthy task.By comparing the R factor between experimental and simulated data, as well as by analyzing manually selected smoothing parameters, we found that a good choice is a smoothing parameter proportional to the average of the noise estimate r n (E) of a given I(V ) curve raised to the power of 0.15 [45].

75As a guide for choosing the smoothing parameter, the program also contains a facility to find the smoothing setting that optimizes the R factor between smoothed experimental data and theoretical intensities (calculated, e.g., with viperleed.calc[12]).When calculating such an optimal smoothing parameter for the whole data set or a subset thereof, the overall smoothing parameter can be adapted to the noise of each curve, as described above.The minimum of the R factor against the smoothing pa-rameter is rather shallow.To avoid oversmoothing, we do not use the value exactly at the minimum but the weakest smoothing that does not lead to an R factor more than 1% above the minimum.

76Finding "bad" regions in the data -For examination of the data quality, the I(V ) curve editor provides a function to selectively examine the cases of poor agreement of symmetry-equivalent beams with their average, based on Pendry's R factor.It has to be noted that R P is extremely sensitive to the exact shape of the curves at each minimum; even tiny deviations at the minima can lead to high values of the difference of the Y functions, which determines the R factor.Since such deviations are unavoidable, we first eliminate sharp peaks of the Y function difference by a minimum filter [46], followed by smoothing with a running-average filter.If the maxima of the local R factor filtered this way exceed a user-defined threshold, they are flagged as regions of bad agreement.These regions are sometimes related to a beam passing over a defect of the LEED screen; in such a case the the affected beam can be excluded from averaging in this energy range.

77Workflow -The workflow for editing a large set of I(V ) curves can thus be reduced to (i) selection of a suitable noise limit R limit and (ii) choice of the smoothing parameter for a curve with medium noise, followed by applying noise-dependent smoothing to all other curves.For some materials (notably 5d elements) or if very low energies (below 50 eV) are included, the low-energy peaks may by substantially sharper than expected from the V 0i value.In such a case, weaker smoothing should be selected for beams including low energies.This can be done by first selecting the smoothing parameter for the first beams, which tolerate less smoothing due to their sharp peaks at lo energies.Then, starting with a "higher" beam (with the onset at higher energy), stronger smoothing can be applied to this beam and those further up.The final step in the workflow is the examination of the data quality; in many cases this can be restricted to the cases of poor agreement of symmetry-equivalent beams mentioned above (a small fraction of the whole data set).

78When editing is complete, the final set of I(V ) curves can be saved into a file that is directly suitable as experimental input for structure optimization with viperleed.calc[12].The edit parameters (data ranges selected, smoothing strengths) are saved in an edit log file, which allows the user to (i) interrupt an editing session at any point and resume it later, (ii) modify a previous edit (changing the smoothing or adding/removing some beams), and (iii) apply the same editing parameters to a different data set with the same symmetry.This is useful, for instance, as a starting point when analyzing a later measurement of the same sample.

79Apart from selecting and editing data, the I(V ) curve editor can be also used to compare different data sets, by opening two (or more) editor windows.Multiple editor windows are synchronized, which means that they show the same group of symmetry-equivalent beams over the same energy range (prior to any manual zooming).In addition, the I(V ) curve editor can be synchronized with the LEED movie shown in the spot tracker.Then, the energy selected in the spot tracker is marked in the I(V ) curve editor, and the beams selected in the I(V ) curve editor are marked in the spot tracker.

III. CONCLUSIONS

80We have developed an open-source software package [47], implemented as a set of ImageJ plugins, for analysis of LEED movies, extraction and processing of I(V ) curves.The package was designed for (i) efficient and fast workflow and (ii) optimal data quality.For reaching these aims it includes many features not available in previous software solutions.The package currently contains about 15000 lines of code written over more than four years.The screenshots in Figs. 3 and 4 give an indication of the typical data quality obtained with our system.

81Even spots that have 0.1% of the maximum spot intensity can be evaluated with acceptable noise (Fig. 4).This data quality is substantially better than what could be achieved with legacy systems based on 8-bit images.

82With our system, we have successfully performed spot tracking and I(V ) measurements for LEED movies acquired with four different experimental setups from more than 20 different structures: from simple Cu(111)-(1 × 1) to complex ones with a dense arrangement of spots.The upper limit in complexity processed so far was a (10×10) superstructure on Pt(111) [10], where about 2000 I(V ) curves could be measured; about 350 inequivalent beams with sufficient quality were finally selected.For this structure, the proximity of spots limits the usable energy range to E ≤ 400 eV.Taking advantage of parallelization for multi-core machines, the processing times for spot tracking and I(V ) measurements on a contemporary desktop computer are below one minute even for such a large data set.Including all user intervention (from opening the files and creation of the mask for a new LEED setup, setting all parameters, up to and including assessing the quality of the results), extraction of the raw I(V ) data from a typical LEED movie takes about 10-15 minutes (less for subsequent similar movies with the same setup).The time required for selection, processing and examination of the data in the I(V ) curve editor is of the same order of magnitude.This has to be compared with a week of work for a structure with somewhat lower complexity [48] when manually selecting and tracking spots one by one.Besides reduction of manual work (which also reduces the risk of human errors), our software contains many features that improve the data quality.Together with the other parts of the ViPErLEED project, we consider it an important step towards making LEED I(V ) studies more accessible.use the average over the background area if the spot is exactly centered (vanishing first moments over the integration disk after subtraction of the linear background) and the shapes of the integration areas for the spot and the background have at least twofold rotation symmetry around the center.Subtracting the linear background is required for obtaining the spot position via the first moments, and also for the intensity measurement if the spot is not perfectly centered spot or there is an asymmetry of the integration areas.Slight asymmetry can occur due to the spatial quantization (image pixels).We use a one-pixel-wide transition zone where the weight of the background evaluation decreases to zero; this transition zone is not required to be fully inside the foreground area of the mask.If pixels in the transition zone have to be excluded because they are outside the mask foreground area, this also causes asymmetry.

83[33] Since the noise of different pixels is usually uncorrelated, one can use the rules of error propagation to estimate the noise.If the areas of the integration disk and background annulus are the same, at vanishing spot intensity (i.e., without intensity-dependent shot noise), the noise-related errors of the two integrals over these areas will be the same.Thus, the error of the difference of these two integrals equals √ 2 times the error of one of the integrals.

84[34] For spots moving along the arm holding the electron source, which is essentially a radial "spoke" (to the bottom right in Fig. 1), the oval background touches that arm before an annular background area with equal area would touch it.This can reduce the amount of data available with the oval background as compared with a circular background.This case occurs less often than that of spots close to the inner or outer boundary.If it occurs, it often affects only one of several symmetry-equivalent beams, so it does not affect the size of the experimental database of the symmetry-averaged I(V ) curves.

85[35] For the calculation of σ from the moments we use a heuristic correction to take into account that the spot intensity is not fully inside the integration disk.Since experimental LEED spot profiles are non-Gaussian and typically have slowly decaying tails at low intensity [28], the spot size is typically overestimated, especially if the integration radius is large.

FIG. 1 .

86FIG. 1.The graphical user interface of the ViPErLEED spot tracker (here under a Linux operating system), with (a) the input image stack, (b) the processed stack after dark-frame and flat-field correction, and (c) the main spot-tracker panel.The image stacks (d) and (e) are the dark frames and flat field, respectively, (f) is the mask of the usable screen area [also visible as orange outline in (b)], and (g) is a plot of the raw and smoothed beam current I0 (available via the "Set Energies, I0, t" button; the I00 line is invisible because it coincides with the x axis at this scale).The red item in (c) indicates that user input is required.In (a) and (b), the LEED images of the Cu(111)-(5 × √ 3 rect )-4Te structure [22] are displayed with high contrast, leading to saturation of the bright spots.The magnified and contrast-enhanced insets in (a) and (b) show the improvement of the background uniformity with the dark-frame and flat-field correction.

FIG. 2 .

87FIG. 2. Aperture photometry.Integration disk and area for background intensity evaluation with (a) circular and (b) oval outline of the background area.(c) Shapes of the integration and background areas in mode "azimuth blur" for spots with different distances from the (0,0) spot.(d) Illustration of the minimum integration area for LEED spots proposed, assuming a Gaussian profile and annular background (light blue), as shown in panel (a).

참고문헌 27건

  1. A novel method for the extraction of intensity–energy spectra from low-energy electron diffraction patterns Computer Physics Communications · Elsevier BV · 2012 10.1016/j.cpc.2012.02.019
  2. Quantitative evaluation of random distributed steps at interfaces and surfaces Surface Science · Elsevier BV · 1978 10.1016/0039-6028(78)90499-5
  3. Reliability factors for LEED calculations Journal of Physics C Solid State Physics · IOP Publishing · 1980 10.1088/0022-3719/13/5/024
  4. Surface Lattice Dynamics of Silver. II. Low-Energy Electron Thermal Diffuse Scattering Physical Review · American Institute of Physics · 1967 10.1103/physrev.160.523
  5. Two-dimensional aperture photometry - Signal-to-noise ratio of point-source observations and optimal data-extraction techniques Publications of the Astronomical Society of the Pacific · Institute of Physics · 1989 10.1086/132477
  6. Surface crystallography by low energy electron diffraction Zeitschrift für Kristallographie - Crystalline Materials · De Gruyter · 1998 10.1524/zkri.1998.213.12.615
  7. The accuracy of quantitative LEED in determining chemical composition profiles of substitutionally disordered alloys: a case study Surface Science · Elsevier BV · 1998 10.1016/s0039-6028(98)00596-2
  8. Determination and correction of distortions and systematic errors in low-energy electron diffraction Review of Scientific Instruments · American Institute of Physics · 2013 10.1063/1.4774110
  9. Spot intensity processing in LEED images Vacuum · Elsevier BV · 2002 10.1016/s0042-207x(01)00360-8
  10. To tilt or not to tilt: Correction of the distortion caused by inclined sample surfaces in low-energy electron diffraction Ultramicroscopy · Elsevier BV · 2013 10.1016/j.ultramic.2013.04.005
  11. NIH Image to ImageJ: 25 years of image analysis Nature Methods · Nature Portfolio · 2012 10.1038/nmeth.2089
  12. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Analytical Chemistry · American Chemical Society · 1964 10.1021/ac60214a047
  13. Deep-going reconstruction of Ir(100)-5 1 Journal of Physics Condensed Matter · IOP Publishing · 2002 10.1088/0953-8984/14/47/310
  14. Automated determination of complex surface structures by LEED Surface Science Reports · Elsevier BV · 1993 10.1016/0167-5729(93)90011-d
  15. A new image processing method for extracting integrated intensities from low-energy electron diffraction spots Review of Scientific Instruments · American Institute of Physics · 1994 10.1063/1.1144577
  16. Surface structure and stacking of the commensurate <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo>(</mml:mo><mml:msqrt><mml:mn>13</mml:mn></mml:msqrt><mml:mo>×</mml:mo><mml:msqrt><mml:mn>13</mml:mn></mml:msqrt><mml:mrow><mml:mo>)</mml:mo><mml:mi>R</mml:mi><mml:mn>13</mml:mn><mml:mo>.</mml:mo></mml:mrow><mml:msup><mml:mn>9</mml:mn><mml:mo>∘</mml:mo></mml:msup></mml:mrow></mml:math> charge density wave phase of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><… Physical review. B./Physical review. B · American Physical Society · 2019 10.1103/physrevb.100.155407
  17. Testing Accuracy and Precision of Existing Photometry Algorithms on Moving Targets Publications of the Astronomical Society of the Pacific · Institute of Physics · 2013 10.1086/670593
  18. Submonolayer copper telluride phase on Cu(111): Ad-chain and trough formation Physical review. B./Physical review. B · American Physical Society · 2021 10.1103/physrevb.104.155426
  19. Low-Energy Electron Diffraction Springer series in surface sciences · Springer Nature · 1986 10.1007/978-3-642-82721-1
  20. Surface Physics 2020 10.1515/9783110636697
  21. Why and How Savitzky–Golay Filters Should Be Replaced ACS Measurement Science Au · American Chemical Society · 2022 10.1021/acsmeasuresciau.1c00054
  22. The structure of the oxygen-induced c(6×2) reconstruction of V(110) Surface Science · Elsevier BV · 2002 10.1016/s0039-6028(02)01722-3
  23. Surface and Interface Science Wiley eBooks · Wiley · 2013 10.1002/9783527680542
  24. Digital Image Processing Texts in computer science · Springer International Publishing · 2016 10.1007/978-1-4471-6684-9
  25. Surface telluride phases on Pt(111): Reconstructive formation of unusual adsorption sites and well-ordered domain walls Physical review. B./Physical review. B · American Physical Society · 2023 10.1103/physrevb.108.205412
  26. ViPErLEED package I: Calculation of <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mi>I</mml:mi><mml:mo>(</mml:mo><mml:mi>V</mml:mi><mml:mo>)</mml:mo></mml:mrow></mml:math> curves and structural optimization Physical Review Research · American Physical Society · 2025 10.1103/physrevresearch.7.013005
  27. Methods in physical chemistry Choice Reviews Online · Association of College and Research Libraries · 2012 10.5860/choice.50-2078