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

An open-source, end-to-end workflow for multidimensional photoemission spectroscopy

간접 관련 필름·전자재료 · (15) 디스플레이 패널재료 (6) PEM(고분자전해질막)(16) CPI(투명 폴리이미드)

기본 정보

저자
  1. R. Patrick Xian — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  2. Yves Acremann — Laboratory for Solid State Physics, ETH Zurich, 8093, Zurich, Switzerland
  3. Steinn Ýmir Ágústsson — Institute of Physics, University of Mainz, 55128, Mainz, Germany
  4. Maciej Dendzik — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  5. Kevin Bühlmann — Laboratory for Solid State Physics, ETH Zurich, 8093, Zurich, Switzerland
  6. Davide Curcio — Department of Physics and Astronomy, Interdisciplinary Nanoscience Center (iNANO), Aarhus University, 8000, Aarhus C, Denmark
  7. Dmytro Kutnyakhov — DESY Photon Science, 22607, Hamburg, Germany
  8. Federico Pressacco — DESY Photon Science, 22607, Hamburg, Germany
  9. Michael Heber — DESY Photon Science, 22607, Hamburg, Germany
  10. Shuo Dong — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  11. Tommaso Pincelli — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  12. J. Demšar — Institute of Physics, University of Mainz, 55128, Mainz, Germany
  13. W. Würth — DESY Photon Science, 22607, Hamburg, Germany|||Department of Physics, University of Hamburg, 22761, Hamburg, Germany
  14. Philip Hofmann — Department of Physics and Astronomy, Interdisciplinary Nanoscience Center (iNANO), Aarhus University, 8000, Aarhus C, Denmark
  15. Martin Wolf — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  16. Markus Scheidgen — Department of Physics, Humboldt University of Berlin, 12489, Berlin, Germany
  17. Laurenz Rettig — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
  18. Ralph Ernstorfer — Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany
DOI
10.1038/s41597-020-00769-8
저널
Scientific Data
발행년도
2020
발행기관
Nature Portfolio
피인용수
26
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1038/s41597-020-00769-8
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W3111493431

평가 내용

관련도
간접 관련
사업분야
필름·전자재료 · (15) 디스플레이 패널재료
부 분야
(6) PEM(고분자전해질막), (16) CPI(투명 폴리이미드)
R&D 측면
분석·모델링
확신도
0.70
근거 용어
photoemission spectroscopy, electronic band structure, materials characterization, multidimensional datasets, data processing workflow
판단 근거
이 논문은 광전자 분광법(Photoemission Spectroscopy)을 이용한 고차원 데이터 처리 및 분석 워크플로우에 관한 연구입니다. 직접적인 제품 연구는 아니나, 디스플레이 패널 재료(15)나 수소연료전지용 막(6), 투명 폴리이미드(16) 등 코오롱의 고기능성 전자/화학 소재의 전자 구조 및 물성을 정밀 분석하는 데 활용될 수 있는 분석 기법을 다룹니다.
R&D 활용 포인트
고분자 및 기능성 필름 소재의 전자적 특성(Electronic properties) 및 에너지 밴드 구조 분석을 위한 고속·고정밀 데이터 처리 알고리즘으로 활용 가능합니다.
평가 입력
본문 54,229자 중 30,032자 발췌

초록

Characterization of the electronic band structure of solid state materials is routinely performed using photoemission spectroscopy. Recent advancements in short-wavelength light sources and electron detectors give rise to multidimensional photoemission spectroscopy, allowing parallel measurements of the electron spectral function simultaneously in energy, two momentum components and additional physical parameters with single-event detection capability. Efficient processing of the photoelectron event streams at a rate of up to tens of megabytes per second will enable rapid band mapping for materials characterization. We describe an open-source workflow that allows user interaction with billion-count single-electron events in photoemission band mapping experiments, compatible with beamlines at 3rd and 4rd generation light sources and table-top laser-based setups. The workflow offers an end-to-end recipe from distributed operations on single-event data to structured formats for downstream scientific tasks and storage to materials science database integration. Both the workflow and processed data can be archived for reuse, providing the infrastructure for documenting the provenance and lineage of photoemission data for future high-throughput experiments.

본문 54,229자

본문 펼치기
## OPEN ### Article # An open-source, end-to-end workflow for multidimensional photoemission spectroscopy [R. Patrick Xian](http://orcid.org/0000-0001-9895-6956) <sup>1</sup> <sup>✉</sup> , Yves Acremann <sup>2</sup> [, Steinn Y. Agustsson](http://orcid.org/0000-0002-6700-8600) <sup>3</sup> , Maciej Dendzik <sup>1</sup> , Kevin Bühlmann <sup>2</sup> , Davide Curcio <sup>4</sup> [, Dmytro Kutnyakhov](http://orcid.org/0000-0002-6294-4600) <sup>5</sup> , Federico Pressacco <sup>5,6</sup> , Michael Heber <sup>5</sup> , Shuo Dong <sup>1</sup> , Tommaso Pincelli <sup>1</sup> [, Jure Demsar](http://orcid.org/0000-0003-4551-7444) <sup>3</sup> , Wilfried Wurth <sup>5,6,8</sup> , Philip Hofmann <sup>4</sup> , Martin Wolf <sup>1</sup> , Markus Scheidgen <sup>1,7</sup> [, Laurenz Rettig](http://orcid.org/0000-0002-0725-6696) <sup>1</sup> <sup>✉</sup> [& Ralph Ernstorfer](http://orcid.org/0000-0001-6665-3520) <sup>1</sup> <sup>✉</sup> Characterization of the electronic band structure of solid state materials is routinely performed using photoemission spectroscopy. Recent advancements in short-wavelength light sources and electron detectors give rise to multidimensional photoemission spectroscopy, allowing parallel measurements of the electron spectral function simultaneously in energy, two momentum components and additional physical parameters with single-event detection capability. Efficient processing of the photoelectron event streams at a rate of up to tens of megabytes per second will enable rapid band mapping for materials characterization. We describe an open-source workflow that allows user interaction with billion-count single-electron events in photoemission band mapping experiments, compatible with beamlines at 3 <sup>rd</sup> and 4 <sup>rd</sup> generation light sources and table-top laser-based setups. The workflow offers an end-to-end recipe from distributed operations on single-event data to structured formats for downstream scientific tasks and storage to materials science database integration. Both the workflow and processed data can be archived for reuse, providing the infrastructure for documenting the provenance and lineage of photoemission data for future high-throughput experiments. Introduction Many disciplines in the natural sciences are increasingly dealing with densely sampled multidimensional datasets. The scientific workflows to obtain and process them are becoming increasingly complex due to the provenance and structure of the data and the information needed to be extracted and analyzed <sup>1,2</sup> . In materials science and condensed matter physics, various spectroscopic and structural characterization techniques produce experimental data of distinct formats and characteristics. Their creation and understanding require customized processing and analysis pipelines designed by specialists in the respective fields. The growing incentive for building experimental materials science databases <sup>3</sup> that complement established theoretical counterparts <sup>4</sup> calls for open-source and reusable workflows for data processing <sup>5,6</sup> that transform raw data to shareable formats for downstream query, analysis and comparison by non-specialists of the experimental techniques <sup>7,8</sup> . Among the various properties associated with materials, the electronic band structure (EBS) of condensed matter systems is of vital importance to the understanding of their electronic properties in and out of equilibrium. Multidimensional photoemission spectroscopy (MPES) <sup>9–11</sup> is an emerging technique that bears the potential of high-throughput EBS characterization through band mapping experiments and holds promise as an enabling technology for building experimental EBS databases, where data integration requires traceable knowledge of the processing steps between the archived and the raw format. Here we present an open-source workflow that focuses on band mapping data from MPES. In the following, we briefly introduce the technology of MPES and the associated data processing, before providing details on the workflow from raw data to database integration. 1Fritz Haber Institute of the Max Planck Society, 14195, Berlin, Germany. 2Laboratory for Solid State Physics, ETH Zurich, 8093, Zurich, Switzerland. <sup>3</sup> Institute of Physics, University of Mainz, 55128, Mainz, Germany. <sup>4</sup> Department of Physics and Astronomy, Interdisciplinary Nanoscience Center (iNANO), Aarhus University, 8000, Aarhus C, Denmark. 5DESY Photon Science, 22607, Hamburg, Germany. 6Department of Physics, University of Hamburg, 22761, Hamburg, Germany. <sup>7</sup> Department of Physics, Humboldt University of Berlin, 12489, Berlin, Germany. <sup>8</sup> Deceased: Wilfried Wurth. <sup>✉</sup> [e-mail: xian@fhi-berlin.mpg.de; rettig@fhi-berlin.mpg.de; ernstorfer@fhi-berlin.mpg.de](mailto:xian@fhi-berlin.mpg.de) MPES, also called momentum microscopy (MM), is born out of the recent integration of time-of-flight (TOF) electron spectrometers with delay-line detectors (DLDs) and improved electron-optic lens designs <sup>12–15</sup> . Compared with the earlier generations of angle-resolved photoemission spectroscopy (ARPES) <sup>16,17</sup> using hemispherical analyzers to measure the 2D energy-momentum distribution of the photoemitted electrons <sup>18</sup>, MPES is capable of recording single-electron events simultaneously sorted into the ( _kx_, _ky_, _E_ ) coordinates ( _E_ : electron energy, _kx_, _ky_ : parallel momentum components) in band mapping experiments, obviating the need for scanning across sample orientations and subsequent data merging as is the case for similar experiments using a single hemispherical analyzer. Operation of the TOF DLD in MPES requires a pulsed photon source and is directly compatible with 3 <sup>rd</sup> and 4 <sup>th</sup> generation light sources <sup>19</sup> as well as laboratory-based table-top setups <sup>20–23</sup>, harnessing their high repetition rates in the range of multi-kilohertz to megahertz to drastically improve the detection speed and efficiency. Mapping of the 3D band structure with sufficient signal-to-noise ratio (SNR) may be achieved on the timescale of minutes. The technological convergence opens up the possibilities to record 3D datasets in dependence of one or more additional parameters, such as spatial location _I_ ( _x_, _y_, _kx_, _ky_, _E_ ), probe photon energy, _I_ ( _kx_, _ky_, _E_, _kz_ ) <sup>10</sup>, spin-polarization, _I_ ( _kx_, _ky_, _E_, _S_ ) <sup>9</sup>, or pump-probe time in time-resolved MM, _I_ ( _kx_, _ky_, _E_, _t_ ) <sup>24</sup> within a reasonable time frame. From the data perspective, the pulsed sources with high repetition rates generate densely sampled data at rates of multiple megabytes per second (MB/s), which has brought about challenges in data processing and management compared with conventional ARPES experiments. The raw data in MPES are single photoelectron events registered by the DLD and the physical quantities related to the detected events are streamed in parallel to the storage files in a hierarchical file format (e.g. HDF5 <sup>25</sup> ). A typical dataset involves 10 <sup>7</sup> –10 <sup>10</sup> detected events with a total size of up to a few hundred gigabytes (GBs), depending on the number of coordinates measured (3D or 4D) and the required SNR. Unlike the large 2D or 3D image-based datasets, such as those obtained in various forms of optical <sup>26,27</sup> and electron microscopy techniques <sup>28,29</sup>, processing and conversion of tabulated single-event data requires additional steps of statistical computing for conversion into standard images. This motivates the current workflow development for efficient data processing and analysis. In data processing and calibration, experiments performed at different facilities share similar procedures going from the raw events to the multidimensional hypervolume with calibrated axes, which is the basis for archiving and downstream analysis. To maintain reproducibility for the particular data source characteristics, data structure and processing procedure, we have summarized the workflow (see Fig. 1) into two open-source software packages ( `hextof-processor` <sup>30</sup> and `mpes` <sup>31</sup> ), with similar design principles for coping with large-scale facility and table-top experiments, respectively. The core of our approach includes distributed statistical processing at the single-event level using parameters calibrated and determined from preprocessed volumetric datasets, which enables effective instrument diagnostics, artifact correction, and sample condition monitoring. The algorithms involved balance physical knowledge and existing methods in image processing and computer vision. The workflow is illustrated next with data obtained at some of the electron momentum microscopes currently in operation, such as the HEXTOF (high energy X-ray time-of-flight) measurement system <sup>24</sup> at the free-electron laser source FLASH <sup>32</sup> at DESY, and the table-top high harmonic generation-based setup at the Fritz Haber Institute (FHI) <sup>21</sup> involving a commercial TOF and DLD (METIS 1000, SPECS GmbH). We use the material example of tungsten diselenide (WSe2) measured at both experimental setups to demonstrate the workflow execution, because in momentum space, the patent features of WSe2 band structure and the nonequilibrium dynamics initiated by optical excitation of WSe2 have been thoroughly studied in the past (see Methods) <sup>24,33–36</sup> . We expect the workflow described here to serve as a blueprint for upcoming software platforms in similar setups to be installed in other facilities or laboratories worldwide. Results Workflow description. The workflow schematic shown in Fig. 1 starts with raw single-event data from measurements. The data are (i) binned in a distributed fashion in the measurement coordinates, including each of the photoelectrons’ position on the detector ( _X_, _Y_ ), its TOF, a digital encoder (ENC) axis, and others, if more than four dimensions are acquired in parallel. The binned histogram is (ii) used to estimate the numerical transforms for distortion correction and axis calibration. Next, these transforms are (iii) applied to the raw single-event data to convert the measurement coordinates to the physical axes, ( _kx_, _ky_, _E_, _t_ pp) and others for higher dimensions (see also Fig. 2). Finally, the single-event data are (iv) binned in the transformed grid to yield 3D, 3D + t or other higher-dimensional data with the correct axis values. The outcome may be exported in different formats for storage, visualization and downstream analysis. Tasks and software infrastructure. Processing billion-count single-event data requires user interaction for data checking and distributed processing to reduce the time consumption. The general tasks in the workflow include the transformation of data streams to multidimensional histograms, artifact correction and axis calibration. These operations can be efficiently decomposed into column-wise operations of the distributed dataframe format offered by the dask package <sup>37</sup> in Python. While the use of dask dataframes provides the common foundation for interactivity with single events in `hextof-processor` and `mpes`, they distinguish themselves by the experimental requirements. At large-scale facilities, experiments often record a large number of machine parameters that need to be stored, though only a small number of relevant parameters are needed for downstream processing. Therefore, the `hextof-processor` package includes a parameter sampling step to retrieve intermediate tabulated data in [the Apache Parquet format (https://parquet.apache.org/), a column-based data structure optimized for computa-](https://parquet.apache.org/) tional efficiency. This approach reduces the processing overhead in searching through the raw data files every time when data are queried during the subsequent processing. As an open-source project, other beamtime-specific functionalities are added by users to the existing framework at every new experimental run. The `mpes` package Data processing workflow File reduction and conversion (3) Data acquisition Processing Measurement workstation controller (2) DLD .parquet Workflow parameters (5) Workflow parameters Data storage Distributed binning (4) in original grid .h5 Data visualization (4) in original grid file outputs Artifact Axis correction calibration Coordinate mappings Distributed grid transformation Distributed binning in transformed grid file outputs (6) Workflow Y X parameters (1) Downstream analysis (7) Sample Fig. 1 Schematic of the workflow in MPES. The data acquisition in MPES starts from (1) photoelectrons liberated by the extreme UV (XUV) or X-ray photons travelling through the lens systems and the TOF tube to trigger detection events on the delay-line detector (DLD). (2) Single-event data acquisition is monitored and controlled by the measurement controller computer. The raw data are first streamed and stored onto a hard drive in HDF5 format (.h5) and subsequently processed in the workflow through (3) file reduction (optional), (4)(6) distributed binning, (5) artifact correction and axis calibrations, carried out at the singleevent or the binned data levels. At the end of the workflow, other data formats are generated (such as HDF5, MAT or TIFF) for (7) storage, visualization or downstream analysis for extracting relevant physical parameters. Critical parameters within the workflow may be exported (as workflow parameters files), shared and reused for processing other datasets. adapts to the much simpler file structure produced at table-top experimental setups and makes direct use of the HDF5 raw data. It comes with added functionalities motivated by the existing issues encountered in data acquisition and downstream processing such as axis calibration, masking, alignment and different forms of artifact correction. The softwares come with detailed documentation and examples online for users to gain familiarity (see Code availability). Artifact correction. Artifacts in MPES data come from mechanical imperfections, stray fields (electric and magnetic), uncertainties in the alignment of the sample, light beams and the multistage electron-optic lens systems as well as the data digitization process. Minimizing and correcting instrumental imperfections plays an important role in the validity of downstream analysis. We carry out artifact correction sequentially at the level of single photoelectron events or the data hypervolume obtained from multidimensional histogramming (see Fig. 2). The outcomes are illustrated using the correction of (1) digitization artifact (see Fig. 3) and (2) spherical timing aberration artifact (see Fig. 4), with technical details in Methods. Axis calibration. To transform the measurement axes of the DLD into physically relevant axes for electronic band mapping, calibrations are required, as shown in Fig. 2. The calibration functions are constructed with parameters derived from comparing physical knowledge of the materials (e.g. Brillouin zone size, Fermi level parameter distribution measurement axis <u>transforms</u> physical <u>binning</u> data axis hypervolume axis physical #### _X_ _Y_ TOF ENC U(0,1) U(0,1) U(0,1) <u>corrections</u> calibration Fig. 2 Examples of workflow components. Illustrations are given for artifact correction and axis calibration. Characteristic 1D distributions of the measured _X_, _Y_, TOF, ENC and an arbitrary axis are shown on the very left. _U_ (0,1) represent uniformly distributed random noise added to suppress digitization artifacts (jittering or dithering). The transforms ( _g_ ’s) are calibration functions that convert the values in the measurement axes to the physical ones. The transform L ( _X_, _Y_ ) corrects the symmetry distortion, while the spherical timing aberration and space charge are compensated for by ΔTOFsph and ΔTOFsc, respectively. Binning of the corrected singleevent data over the calibrated physical axes yields a multidimensional hypervolume (right picture) of photoemission intensity data along with the physical axes values. position) with the corresponding scales in data. They are applied either to the binned data hypervolume, or to the single-electron events raw data individually in a distributed fashion before binning. Details on the calibration data transforms are provided in Methods. Data storage and format. The simplistic form of the output data hypervolume derived from single-electron events includes non-negative scalar values of the photoemission intensity and the calibrated real-valued axes coordinates, including _kx_, _ky_, _E_, and other parameter dependencies such as the pump-probe time delay _tpp_ . These values are exported as HDF5, MAT or TIFF, with the metadata included as attributes of the files. Workflow archiving and reuse. Computational workflows are valued by their reproducibility <sup>38</sup> . Archiving and sharing the workflow parameters among users of the beamlines or facilities allow comparison between experimental runs and reuse for the simultaneous benefits of machine diagnostics and experimental efficiency. To achieve this, we store critical parameters generated within the workflow in a separate file as _workflow parameters_ (see Fig. 1) during each step, including the numerical values used in binning, the intermediate parameters and coefficients of the correction and calibration functions, etc. They can be reused when loading into the processing of other datasets. Data visualization. The adaptation of established scientific visualization methods in the physical sciences <sup>39,40</sup> to band mapping data should incorporate the requirements and knowledge of the data characteristics in this field of research. The band mapping data in 3D (multi-megavoxel) and 3D + t (multi-gigavoxel) include the inherent symmetries from the electronic band structure of the material, but the intensity modulations in the photoemission process <sup>41</sup>, dynamics and sample condition disrupt the original symmetry. The overall goal is to emphasize the features of interest while exploiting the symmetry to simplify the visualization (see Methods). The output files from the processing pipeline are compatible with open-source visualization software such as matplotlib <sup>42</sup>, ParaView <sup>39</sup> and Blender <sup>43</sup> . Downstream analysis integration. Typical photoemission data analysis involves extracting electronic band structure parameters, physical coupling constants and lifetimes via fitting of lineshapes <sup>16</sup> or dynamical models <sup>44</sup>, often carried out specific to the material under study. At the end of our distributed workflow, the data size is on the order of a few to tens of gigabytes, which can be directly loaded into memory on users’ local machines for downstream data analysis with custom routines. Experimental metadata. The metadata of the data files have a tree structure and contain information of the experimental setting, parameters of the pulsed light source, the detector and the sample under study. A list of top-level metadata parameters is presented in Table 1. A full and current list of all metadata parameters, including the top-level parameters and their constituent lower-level parameters, along with their definitions, units and values, is provided in Supplementary Tables 1–4. For database integration, an accompanying data parser (parser-mpes, see Code availability) for MPES data has been written in accordance with existing standards <sup>45</sup> for computational materials science in NOMAD <sup>8</sup>, featuring an electronic version of the metadata parameter list in [the file mpes.nomadmetainfo.json online. The metadata parameter list and the data parser are versioned and are](https://mpes.nomadmetainfo.json) updated based on the corresponding changes in the data structure for photoemission spectroscopy experiments. The existing WSe2 photoemission data have been integrated into the experimental section of the materials science database NOMAD (see Data availability). a b c d Fig. 3 with a 2D Digitization artifact correction by histogram jittering. Removal of the digitization artifact is illustrated _k_ - _E_ slice across the Brillouin zone center (at 0 Å−1 momentum) of the band mapping dataset measured with a 2D _k_ - _E_ slice across the Brillouin zone center (at 0 Å−1 momentum) of the band mapping dataset measured at FHI on WSe2. The images before and after histogram jittering and their difference are shown in ( a - c ) respectively. A zoomed-in section of the data are shown in the insets in ( a - c ). The effective removal of the digitization artifact is further demonstrated in the momentum-integrated energy distribution curves in ( d ). The traces in ( d ) are computed by averaging horizontally over their corresponding 2D images in ( a - c ). Å− d TOF tube <mark>W4f</mark> 7/2 664.2 664.4 W4f 7/2 peak TOF (ns) 7/2 d 1.0 0.5 0.0 -0.5 -1.0 Raw data Polynomial fit Corrected data source 0.9 0.6 0.3 0 a b r Center Edge W4f 5/2 W4f7/2 peak TOF (ns) 664.4 664.8 665.2 c r Edge Center -1.0 -0.5 0.0 0.5 1.0 x (a. u.) 0.9 0.8 0.7 0.6 0.5 0.4 0.3 0.2 660 670 680 690 TOF (ns) 664.4 664.6 Fig. 4 Spherical timing aberration correction. The correction is demonstrated using W4f core-level data measured at FLASH. The energy spacing between the W4f7/2 and W4f5/2 levels is about 2.1 eV <sup>34</sup> . ( a ) Illustration of the geometric origin of the spherical timing aberration in the time-of-flight (TOF) drift tube. ( b ). Comparison of the W4f spectra at the center and on the edge of the detector plane. The energy spectra are extracted from the corresponding regions, marked by the dots in the same blue and red colors, respectively, in ( c ). The white stripes crossing at the detector center block the exposed edges of the four-quadrant detector quadrants. ( d ). The uncorrected and corrected radial-averaged peak TOF positions for the W4f7/2 core level. <u>Category name</u> <u>Description</u> <u>General parameters</u> <u>Descriptive information of the experiment and facility</u> <u>Source parameters</u> <u>Technical parameters relating to the photon source</u> <u>Detector parameters</u> <u>Technical parameters relating to the photoelectron detector</u> <u>Sample parameters</u> <u>Parameters relating to the material sample in experiment</u> Table 1. Top-level metadata parameters. Discussion We have designed and implemented an open-source, end-to-end workflow for processing single-event data produced in multidimensional photoemission spectroscopy, linking to downstream tasks, providing guidelines and software for integrating processed data into the NOMAD experimental materials science database. The distributed processing takes full advantage of the single-event data streams directly accessible from the TOF delay-line detector for event-wise correction and calibration and converts the raw events to the calibrated data hypervolume for project-specific downstream analysis. The functionalities within the workflow are publicly accessible through the software packages we have developed ( `hextof-processor` <sup>30</sup> and `mpes` <sup>31</sup> ). The processing workflow is archived at each step of operation and the processed data may be integrated into experimental database with user-specified metadata. The methods described here are applicable to all existing types of multidimensional photoemission band mapping measurements beyond the static and time-dependent settings described here. Our end-to-end workflow from raw data to processed data to database integration provides a fast-track and all-in-one solution to the demands for open experimental data and reproducible research in the materials science community <sup>7,8</sup> . The public repositories for the software packages are the foundations for phased future extension and integration with existing analytical tools in the photoemission spectroscopy community. The modular structure of the packages introduced here allows targeted upgrades by both temporary and dedicated maintainers and users. Casting the workflow in the Python programming environment provides the foundation for convenient incorporation of existing image processing and machine-learning resources <sup>46</sup> for further exploration and understanding of the band mapping datasets, which contain rich information owing to the complex nature of the photoemission process <sup>16,18</sup> . This is especially beneficial for broader adoption of photoemission since the interpretation of photoemission data is often linked to the observed or extracted outstanding features such as local intensity extrema, dispersion kinks and satellites, lineshape parameters and pattern symmetry <sup>16</sup>, therefore, the access to experimental data and the potential integration with existing electronic structure-related software <sup>5,47–49</sup> will facilitate method developments and the direct comparison between experimental results and theoretical band structure calculations within the same programming platform. Methods Sample preparation. Single-crystalline samples of 2D bulk WSe2 (2 _H_ stacking) were purchased from HQ Graphene. Crystals of size around 5 mm × 5 mm × 1 mm were used directly for the measurements. To prepare a clean surface by cleaving, we attached a cleaving pin upright to the sample surface using conducting epoxy (EPOTEC H20) outside the vacuum chamber and removed the pin by mechanical force in ultrahigh vacuum. Photoemission experiments. The measurements were conducted using the HEXTOF instrument <sup>24</sup> at the DESY FLASH PG-2 beamline <sup>50</sup> with the free-electron laser (FEL) as well as a laboratory source <sup>21</sup> with a METIS electron momentum microscope (SPECS METIS 1000) installed at the FHI. In the measurements at FLASH, the FEL was tuned to 36.5 eV (or 34.0 nm) and 109 eV (or 11.4 nm), the optical pump pulse had a center wavelength of 775 nm. The measurements at the FHI used a 21.7 eV home-built extreme UV source based on high harmonic generation in Ar gas driven by an optical parametric chirped-pulse amplifier operating at 500 kHz repetition rate <sup>51</sup> . The optical pump pulse is centered at 800 nm. In both FEL and laboratory experiments, the near-infrared light pulses promote the electronic population at the K and K′ high-symmetry points (corresponding to ~~K~~ and <u>K′</u> points, respectively, in the projected Brillouin zone obtained from photoemission, as shown in Fig. 5) in momentum space to the excited states via direct optical transitions. The nonequilibrium electronic dynamics are probed via valence and conduction band photoemission <sup>35</sup> as well as core-level photoemission <sup>36</sup>, using _s_ -polarized extreme UV and soft X-ray probe pulses, respectively. Digitization artifact. The time-to-digital converter (TDC) outputs digitized data according to the binning width of the on-board electronics. Data conversion from one digitized format to another in a rebinning process often creates a picket fence-like effect (see Fig. 3). This phenomenon originates from the incommensurate bin size in the two rounds of sampling processes (binning and rebinning). To solve the problem, one introduces a slight amount of uniformly distributed noise, with an amplitude equal to half of the original bin size, to the single-event values when carrying out the bin counts. This is similar to the histogram jittering (or dithering) technique <sup>52,53</sup> used in statistical visualization and computer graphics. Mathematically, the uniformly distributed noise _U_ (0,1) bounded in the range [0,1] is added before binning to a univariate data stream, _S_ = { _Si_ } via, _S_ ′ _i_ = _Si_ + _<u>w</u>_ 2 _<u>b</u>_ × _U_ (0, 1). (1) here, _wb_ is the bin width. For binning of multivariate data streams, such as the detector X position (or _kx_ ), Y position (or _ky_ ), and the photoelectron TOF (or _E_ ), we adopt the same approach individually for each dimension. The effect of jittering in reducing the digitization artifact is demonstrated in Fig. 3. Spherical timing aberration. Electrons entering the TOF tube at different lateral positions travel through different path lengths to reach the detector, which is the origin of the spherical timing aberration as illustrated in Fig. 4. The lateral position-dependent time delay may be expressed as, ΔTOFsph( _r_ ) = ( <sup>1</sup> + _r_ 2/ _d_ 2 - 1)TOF,0 (2) where _r_ is the radial distance from the center of the DLD and TOF0 is the TOF normalization constant. For a typical field-free region length of _d_ ∼1 m in the TOF tube and a DLD screen radius of _r_ = 50 mm, ΔTOF/TOF0 ≈ 1 25. × 10−3. Assuming TOF0 = 0.5 _μ_ s, the spherical timing aberration in TOF scale is a b c E kx ky Fig. 5 Typical visual representations of the volumetric band mapping data. The examples are illustrated using band mapping data of the layered semiconductor WSe2, measured with the HEXTOF instrument at FLASH ( a, c ) and the METIS detector at the FHI ( b ). The visualizations are ( a ). the orthoslice representation, ( b ). the band-path diagram (right) with the momentum path labelled in dashed blue line in the momentum _kx_ - _ky_ plane (left), and ( c ). the cut-out view. All color scales represent photoemission intensity. The letters label the high <u>symmetry points of the hexagonal Brillouin zone of WSe233. The intensity features on the upper side nearby the</u> ~~K~~ and <u>K′ points result from nonequilibrium electronic populations following photoexcitation of electrons to the</u> conduction band, while the intensities below are from valence band photoemission (see Methods for experimental conditions). ΔTOFsph ≈ 0 62. ns, which is larger than the DLD’s temporal resolution of ∼ 0.15 ns. The effect of the spherical timing aberration is visible for a few eV energy range with fine bins but quite small on a large energy range. To illustrate this effect, we use the W 4 _f_ core-level data presented in Fig. 4b. For every ( _X_, _Y_ ) position on the detector the peak of W 4 _f_ 7/2 was fitted with a Voigt profile and the peak positions are shown in Fig. 4c. As the spectra from deep core levels typically do not show dispersion, the deviation from fitting corresponds to the spherical timing aberration of the electron optics. In order to compensate for the spherical timing aberration, we first transform the data from Cartesian to the polar coordinates (see Fig. 4c), and then fit the radial-averaged peak position to a polynomial function of the radius, 2TOF0 2 _d_ <u>2</u> _d_ _<u>r</u>_ 48TOF _d_ <u>4</u> <u>0</u> + O( _r_ 6 ΔTOFsph( _r_ ) = _<u>r</u>_ 2TOF2 <u>0</u> - _<u>r</u>_ 4TOF4 <u>0</u> + O( _r_ 6). TOFsph( _r_ ) = _<u>r</u>_ 22TOF _d_ <u>2</u> <u>0</u> - _<u>r</u>_ 48TOF _d_ <u>4</u> <u>0</u> + O( _r_ 6). (3) _d_ The fitting results together with the corrected radial distribution are presented in Fig. 4d. Symmetry distortion. Photoemission patterns in the ( _kx_, _ky_ ) plane (i.e. an energy slice) may exhibit distorted symmetry due to the influence of various factors from the instrument, the sample and the experimental geometry on the trajectory of low-energy photoelectrons. Correction of the symmetry distortion yet preserving the intensity features requires the use of symmetry-related landmarks to solve for the symmetrization coordinate transform in the framework of nonrigid image registration <sup>54</sup> . In typical situations with an excellent electron lens alignment, the energy dependence of the momentum distortion within the focused phase space volume covering an energy range of several eV is negligible, so the same coordinate transform can be applied to all energy slices in the volumetric data (including both valence and conduction bands) or simultaneously to all single events. Other single-experiment artifacts. (1) Momentum center shift: The momentum center of the emergent photoelectrons travelling through the electron-optic system may experience an energy-dependent shift owing to the slight misalignment in the system or the influence of stray fields. Correction of the center shift requires an energy-dependent center alignment of energy slices. The shift along the energy (or TOF) axis may be estimated using phase correlation <sup>55</sup> or mutual information-based <sup>56</sup> sequential image registration methods, in which the series of energy slices are treated as an image sequence. In a well-shielded and well-aligned electron-optic lens system, generally, the momentum center shift is negligible in the focused photoelectron energy range. (2) Space-charge effect (SCE): The secondary photoelectron clouds originating from the probe and pump pulses cause a “doming effect” of the photoemission intensity distribution around the momentum center of the band structure. This is especially visible in systems with a clear Fermi edge <sup>9,11</sup> or non-dispersing shallow core levels, which may be used as references for calibrating the parameters used for the flattening transform by applying a momentum-dependent shift ΔTOFsc( _kx_, _ky_ ) in the TOF (or the calibrated energy) coordinate of the single-event data. Momentum calibration. The scaling factors for momentum calibration are computed by comparing the positions of known high symmetry points in the band structure with their corresponding locations in an energy slice. Suppose _A_ and _B_ are two high symmetry points identifiable (e.g. as local extrema) from the experimental data with pixel positions ( _XA_, _YA_ ) and ( _XB_, _YB_ ), and momentum positions, ( _kxA_, _kyA_ ) and ( _kxB_, _kyB_ ), respectively. We _xA_, _ky_ _xB_, _kyB_ data with pixel positions ( _XA_, _YA_ ) and ( _XB_, _YB_ ), and momentum positions, ( _kxA_, _kyA_ ) and ( _kxB_, _kyB_ ), respectively. We calculate the pixel-to-momentum scaling ratios, _fX_ and _fY_, along the _X_ (column) and _Y_ (row) directions of a 2D _k_ -space image, respectively. Then, the momentum coordinate ( _kx_, _ky_ ) at each pixel position ( _X_, _Y_ ) may be derived. _yA_ ) and ( _kxB_ _A_ _B_ _d_ _A_ - _DB_ _fD_ = ( _kdA_ - _kdB_ )/( _DA_ - _DB_ ) (4) _kd_ = _fD_ × ( _D_ - _DA_ ) ( _D_, _d_ = _X_, _x_ or _Y_, _y_ ) (5) Energy calibration. The calibration requires a set of band mapping data measured at different bias voltages (applied between the material sample and the ground), usually sampled with a spacing of 0.5 V in a range of ± 3–5 V around the normally applied bias voltage for a particular sample. The calibration proceeds by finding the TOF feature (e.g. local extrema) correspondences in the 1D energy distribution curves (EDCs) at different biases using the dynamic time warping algorithm <sup>57</sup> . The transformation from the TOF to the photoelectron energy _E_ is approximated as a polynomial function, _n_ = ∑ _E_ (TOF) = ∑ _ai_ TOF _i_ _i_ =0 _i_ _i_ _i_ =0 (6) 0 _i_ The approximation is sufficiently accurate within a range of ∼ 20 eV, sufficient to cover the entire valence band and some low-lying conduction bands of typical materials. The polynomial coefficients are determined using nonlinear least squares by solving Δ _T_ ⋅ _a_ = Δ _E_, in which _a_ = ( _a_ 1, _a_ 2, ...) <sup>_T_</sup> is the coefficient vector while the constant offset _a_ 0 is determined by manual alignment to an energy reference, such as the Fermi level or valence band maximum. The vector Δ _E_ and the matrix Δ _T_ contain, respectively, the pairwise differences of the bias voltages and the polynomial terms of differential TOF values. To calibrate a large energy range including multiple core levels, a piecewise polynomial may be used <sup>11</sup> . Pump-probe delay calibration. The time origin (“time zero”) in time-resolved photoemission spectroscopy, i.e. the temporal overlap of pump and probe pulses, is determined by fitting of a characteristic trace extracted from the data. Since the readings of the digital encoder (see Fig. 2) are sampled linearly, equally-spaced pump-probe delays are directly convertible from the readings using linear interpolation, given the boundary values of the translation stage positions and the corresponding delay times. For unequally-spaced delays, a delay marker is first added to each data point as a separate column after data acquisition to group together the encoder reading ranges that correspond to the specific time delays. The data binning is carried out over the delay marker column instead of the equally-sampled encoder readings. Visualization strategies. We discuss here three methods for the display of volumetric band mapping data, which are, at the same time, the basis for visualizing 3D + t data with time as an animated axis. (1) The orthoslice representation includes orthogonal 2D planes selected in specific regions in the 3D volume <sup>39</sup>, which highlights specific slices deep within the data less visible in a volumetrically rendered view (see Fig. 5a). Along this line, we have developed a software package, `4Dview` <sup>58</sup>, to explore 4D data using simultaneously linked orthoslices, which also features contrast adjustment and data integration within a hypervolume of interest. (2) The band-path plot (see Fig. 5b) is a 2D representation of the 3D band mapping volume generated by combining a series of 2D cuts along selected momentum paths (or k-paths) traversing a list of so-called high-symmetry points <sup>59,60</sup> . This representation captures the largest dispersion within the band structure. For volumetric data, the same path may be sampled from all the full energy range to produce the plot shown in Fig. 5b. The `analysis` and `visuali-` `zation` modules in the `mpes` package include functionalities to compose customized band-path plots. (3) The cut-out view (see Fig. 5c) exposes a specific part of interest in the volumetric data, while not losing the rest <sup>39</sup> . The `analysis` module in the `mpes` package provides ways to generate precise cut-outs using position landmarks (e.g. high-symmetry points labelled in Fig. 5) and inequalities. Data availability The single-event photoemission data used for demonstrating the workflow is available on the Zenodo platform [at https://doi.org/10.5281/zenodo.2704787 (valence and conduction band photoemission at FEL)](https://doi.org/10.5281/zenodo.2704787) <sup>61</sup> [, https://doi.](https://doi.org/10.5281/zenodo.3945432) [org/10.5281/zenodo.3945432 (core-level photoemission at FEL)](https://doi.org/10.5281/zenodo.3945432) <sup>62</sup> [and https://doi.org/10.5281/zenodo.3987303](https://doi.org/10.5281/zenodo.3987303) (valence band photoemission from laboratory setup) <sup>63</sup> . The preprocessed data are being integrated into the [NOMAD database in the domain for experimental materials science data accessible at https://nomad-lab.eu/](https://nomad-lab.eu/prod/rae/gui/search?domain=ems) [prod/rae/gui/search?domain=ems.](https://nomad-lab.eu/prod/rae/gui/search?domain=ems) Code availability The code, including documentation and examples in Jupyter notebooks for implementing the data transformations in the workflow, is available as `hextof-processor` [(https://github.com/momentoscope/](https://github.com/momentoscope/hextof-processor) [hextof-processor)](https://github.com/momentoscope/hextof-processor) <sup>30</sup> and `mpes` [(https://github.com/mpes-kit/mpes)](https://github.com/mpes-kit/mpes) <sup>31</sup> . The parser for integrating preprocessed experimental data into the NOMAD database is available as `parser-mpes` [(https://gitlab.mpcdf.mpg.de/rpx/](https://gitlab.mpcdf.mpg.de/rpx/parser-mpes) [parser-mpes)](https://gitlab.mpcdf.mpg.de/rpx/parser-mpes) <sup>64</sup> . Received: 24 August 2020; Accepted: 13 November 2020; Published: xx xx xxxx References 1. Pruneau, C. _Data Analysis Techniques for Physical Scientists_ (Cambridge University Press, 2017). 2. Deelman, E. _et al_ . The future of scientific workflows. _The International Journal of High Performance Computing Applications_ 32, 159–175 (2018). 3. Zakutayev, A. _et al_ . An open experimental database for exploring inorganic materials. _Scientific Data_ 5, 180053 (2018). 4. Himanen, L., Geurts, A., Foster, A. S. & Rinke, P. Data-Driven Materials Science: Status, Challenges, and Perspectives. _Advanced_ _Science_ 1900808 (2019). 5. Pizzi, G., Togo, A. & Kozinsky, B. Provenance, workflows, and crystallographic tools in materials science: AiiDA, spglib, and seekpath. _MRS Bulletin_ 43, 696–702 (2018). 6. Perkel, J. M. Workflow systems turn raw data into scientific knowledge. _Nature_ 573, 149–150 (2019). 7. Hill, J. _et al_ . Materials science with large-scale data and informatics: Unlocking new opportunities. _MRS Bulletin_ 41, 399–409 (2016). 8. Draxl, C. & Scheffler, M. NOMAD: The FAIR concept for big data-driven materials science. _MRS Bulletin_ 43, 676–682 (2018). 9. Schönhense, G., Medjanik, K. & Elmers, H.-J. Space-, time- and spin-resolved photoemission. _Journal of Electron Spectroscopy and_ _Related Phenomena_ 200, 94–118 (2015). 10. Medjanik, K. _et al_ . Direct 3D mapping of the Fermi surface and Fermi velocity. _Nature Materials_ 16, 615–621 (2017). 11. Schönhense, B. _et al_ . Multidimensional photoemission spectroscopy—the space-charge limit. _New Journal of Physics_ 20, 033004 (2018). 12. Krömker, B. _et al_ . Development of a momentum microscope for time resolved band structure imaging. _Review of Scientific_ _Instruments_ 79, 053702 (2008). 13. Ovsyannikov, R. _et al_ . Principles and operation of a new type of electron spectrometer –ArTOF. _Journal of Electron Spectroscopy and_ _Related Phenomena_ 191, 92–103 (2013). 14. Damm, A. _et al_ . Application of a time-of-flight spectrometer with delay-line detector for time- and angle-resolved two-photon photoemission. _Journal of Electron Spectroscopy and Related Phenomena_ 202, 74–80 (2015). 15. Tusche, C., Krasyuk, A. & Kirschner, J. Spin resolved bandstructure imaging with a high resolution momentum microscope. _Ultramicroscopy_ 159, 520–529 (2015). 16. Damascelli, A., Hussain, Z. & Shen, Z.-X. Angle-resolved photoemission studies of the cuprate superconductors. _Reviews of Modern_ _Physics_ 75, 473–541 (2003). 17. Yang, H. _et al_ . Visualizing electronic structures of quantum materials by angle-resolved photoemission spectroscopy. _Nature Reviews_ _Materials_ 3, 341–353 (2018). 18. Suga, S. & Sekiyama, A. Photoelectron _Spectroscopy: Bulk and Surface Electronic Structures_ (Springer, 2014). 19. Couprie, M. New generation of light sources: Present and future. _Journal of Electron Spectroscopy and Related Phenomena_ 196, 3–13 (2014). 20. Chiang, C.-T. _et al_ . Boosting laboratory photoelectron spectroscopy by megahertz highorder harmonics. _New Journal of Physics_ 17, 013035 (2015). 21. Puppin, M. _et al_ . Time- and angle-resolved photoemission spectroscopy of solids in the extreme ultraviolet at 500 kHz repetition rate. _Review of Scientific Instruments_ 90, 023104 (2019). 22. Corder, C. _et al_ . Ultrafast extreme ultraviolet photoemission without space charge. _Structural Dynamics_ 5, 054301 (2018). 23. Buss, J. H. _et al_ . A setup for extreme-ultraviolet ultrafast angle-resolved photoelectron spectroscopy at 50-kHz repetition rate. _Review of Scientific Instruments_ 90, 023105 (2019). 24. Kutnyakhov, D. _et al_ . Time- and momentum-resolved photoemission studies using timeof-flight momentum microscopy at a free electron laser. _Review of Scientific Instruments_ 91, 013109 (2020). 25. Folk, M., Heber, G., Koziol, Q., Pourmal, E. & Robinson, D. An overview of the HDF5 technology suite and its applications. In _Proceedings of the EDBT/ICDT 2011 Workshop on Array Databases - AD ’11_, 36–47 (ACM Press, New York, New York, USA, 2011). 26. Weiler, N. C., Collman, F., Vogelstein, J. T., Burns, R. & Smith, S. J. Synaptic molecular imaging in spared and deprived columns of mouse barrel cortex with array tomography. _Scientific Data_ 1, 140046 (2014). 27. Ker, D. F. E. _et al_ . Phase contrast time-lapse microscopy datasets with automated and manual cell tracking annotations. _Scientific_ _Data_ 5, 180237 (2018). 28. Levin, B. D. _et al_ . Nanomaterial datasets to advance tomography in scanning transmission electron microscopy. _Scientific Data_ 3, 160041 (2016). 29. Aversa, R., Modarres, M. H., Cozzini, S., Ciancio, R. & Chiusole, A. The first annotated set of scanning electron microscopy images for nanoscience. _Scientific Data_ 5, 180172 (2018). 30. Acremann, Y. _et al_ [. hextof-processor. https://github.com/momentoscope/hextof-processor (2020).](https://github.com/momentoscope/hextof-processor) [31. Xian, R. P. & Rettig, L. mpes. https://github.com/mpes-kit/mpes (2020).](https://github.com/mpes-kit/mpes) 32. Ackermann, W. _et al_ . Operation of a free-electron laser from the extreme ultraviolet to the water window. _Nature Photonics_ 1, 336–342 (2007). 33. Riley, J. M. _et al_ . Direct observation of spin-polarized bulk bands in an inversionsymmetric semiconductor. _Nature Physics_ 10, 835–839 (2014). 34. Shallenberger, J. R. 2D tungsten diselenide analyzed by XPS. _Surface Science Spectra_ 25, 014001 (2018). 35. Bertoni, R. _et al_ . Generation and Evolution of Spin-, Valley-, and Layer-Polarized Excited Carriers in Inversion-Symmetric WSe2. _Physical Review Letters_ 117, 277201 (2016). 36. Dendzik, M. _et al_ . Observation of an Excitonic Mott Transition Through Ultrafast Corecum -Conduction Photoemission Spectroscopy. _Physical Review Letters_ 125, 096401 (2020). 37. Dask Development Team. _Dask: Library for dynamic task scheduling_ https://dask.org (2016). 38. Stodden, V. _et al_ . Enhancing reproducibility for computational methods. _Science_ 354, 1240–1241 (2016). 39. Hansen, C. D. & Johnson, C. R. (eds.) _The Visualization Handbook_ (Elsevier Butterworth-Heinemann, 2005). 40. Lipşa, D. R. _et al_ . Visualization for the Physical Sciences. _Computer Graphics Forum_ 31, 2317–2347 (2012). 41. Moser, S. An experimentalist’s guide to the matrix element in angle resolved photoemission. _Journal of Electron Spectroscopy and_ _Related Phenomena_ 214, 29–52 (2017). 42. Hunter, J. D. Matplotlib: A 2d graphics environment. _Computing in Science & Engineering_ 9, 90–95 (2007). 43. Community, B. O. _Blender - a 3D modelling and rendering package_ . Blender Foundation, Stichting Blender Foundation, Amsterdam [http://www.blender.org (2018).](http://www.blender.org) 44. Weinelt, M. Time-resolved two-photon photoemission from metal surfaces. _Journal of Physics: Condensed Matter_ 14, R1099–R1141 (2002). 45. Ghiringhelli, L. M. _et al_ . Towards efficient data exchange and sharing for big-data driven materials science: metadata and data formats. _npj Computational Materials_ 3, 46 (2017). 46. Butler, K. T., Davies, D. W., Cartwright, H., Isayev, O. & Walsh, A. Machine learning for molecular and materials science. _Nature_ 559, 547–555 (2018). 47. Ong, S. P. _et al_ . Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis. _Computational_ _Materials Science_ 68, 314–319 (2013). 48. Hjorth Larsen, A. _et al_ . The atomic simulation environment—a Python library for working with atoms. _Journal of Physics: Condensed_ _Matter_ 29, 273002 (2017). 49. Ganose, M. & Jackson, A.,J. A. & O. Scanlon, D. sumo: Command-line tools for plotting and analysis of periodic ab initio calculations. _Journal of Open Source Software_ 3, 717 (2018). 50. Gerasimova, N., Dziarzhytski, S. & Feldhaus, J. The monochromator beamline at FLASH: performance, capabilities and upgrade plans. _Journal of Modern Optics_ 58, 1480–1485 (2011). 51. Puppin, M. _et al_ . 500 kHz OPCPA delivering tunable sub-20 fs pulses with 15 W average power based on an all-ytterbium laser. _Optics Express_ 23, 1491 (2015). 52. Chambers, M., Cleveland, S., Tukey, A. & Kleiner, B. _Graphical Methods for Data Analysis_ (Wadsworth International Group, 1983). 53. Novo, D. & Wood, J. Flow cytometry histograms: Transformations, resolution, and display. _Cytometry Part A_ 73A, 685–692 (2008). 54. Xian, R. P., Rettig, L. & Ernstorfer, R. Symmetry-guided nonrigid registration: The case for distortion correction in multidimensional photoemission spectroscopy. _Ultramicroscopy_ 202, 133–139 (2019). 55. Guizar-Sicairos, M., Thurman, S. T. & Fienup, J. R. Efficient subpixel image registration algorithms. _Optics Letters_ 33, 156 (2008). 56. Viola, P. & Wells, W. M. Alignment by Maximisation of Mutual Information. _International Journal of Computer Vision_ 24, 137–154 (1997). 57. Salvador, S. & Chan, P. Toward accurate dynamic time warping in linear time and space. _Intelligent Data Analysis_ 11, 561–580 (2007). 58. Dendzik, M. mdendzik/4Dview 1.0. _Zenodo_ [https://doi.org/10.5281/zenodo.3360817 (2019).](https://doi.org/10.5281/zenodo.3360817) 59. Setyawan, W. & Curtarolo, S. High-throughput electronic band structure calculations: Challenges and tools. _Computational_ _Materials Science_ 49, 299–312 (2010). 60. Hinuma, Y., Pizzi, G., Kumagai, Y., Oba, F. & Tanaka, I. Band structure diagram paths based on crystallography. _Computational_ _Materials Science_ 128, 140–184 (2017). 61. Xian, R. P. _et al_ . Multidimensional photoemission spectra of tungsten diselenide. _Zenodo_ [https://doi.org/10.5281/zenodo.2704787](https://doi.org/10.5281/zenodo.2704787) (2020). 62. Dendzik, M. _et al_ . Time-resolved core-level photoemission data of tungsten diselenide. _Zenodo_ [https://doi.org/10.5281/](https://doi.org/10.5281/zenodo.3945432) [zenodo.3945432 (2020).](https://doi.org/10.5281/zenodo.3945432) 63. Xian, R. P. _et al_ . Datasets for the computational workflow of multidimensional photoemission spectroscopy. _Zenodo_ [https://doi.](https://doi.org/10.5281/zenodo.3987303) [org/10.5281/zenodo.3987303 (2020).](https://doi.org/10.5281/zenodo.3987303) [64. Xian, R. P. & Scheidgen, M. parser-mpes. https://gitlab.mpcdf.mpg.de/rpx/parser-mpes (2019).](https://gitlab.mpcdf.mpg.de/rpx/parser-mpes) Acknowledgements We thank G. Schönhense for support on the photoelectron detector, S. Grunewald, S. Schülke and G. Schnapka for support on the computing infrastructures. We thank G. Brenner, H. Redlin and S. Dziarzhytski at FLASH, DESY, and H. Meyer and S. Gieschen from the University of Hamburg for beamline and instrumentation support. The work was partially supported by BiGmax, the Max Planck Society’s Research Network on Big-Data-Driven Materials-Science, the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (Grant No. ERC-2015-CoG-682843), and the German Research Foundation (DFG) through the Emmy Noether program under grant number RE 3977/1 and the SFB/TRR 227 “Ultrafast Spin Dynamics” (projects A09 and B07). D. Kutnyakhov, M. Heber and W. Wurth acknowledge funding by the DFG within the framework of the Collaborative Research Centre SFB 925 - 170620586 (project B2). F. Pressacco acknowledges funding from the excellence cluster EXC 1074 “The Hamburg Centre for Ultrafast Imaging - Structure, Dynamics and Control of Matter at the Atomic Scale” of the DFG. S. Y. Agustsson and J. Demsar acknowledge the financial support by the DFG in the framework of the Collaborative Research Centre SFB TRR 173 - 268565370 (project A5). D. Curcio and P. Hofmann acknowledge funding from VILLUM FONDEN via the Centre of Excellence for Dirac Materials (Grant No. 11744). T. Pincelli thanks the Alexander von Humboldt Foundation for financial support. Open Access funding enabled and organized by Projekt DEAL. Author contributions Y.A., K.B., S.Y.A., D.C., R.P.X. and M.D. wrote the hextof-processor package. R.P.X. and L.R. wrote the mpes package. D.K., Y.A., F.P., R.P.X., S.Y.A., D.C., M.D., M.H., S.D., P.H., L.R., R.E. and W.W. participated in the experiments at the FLASH PG-2 beamline using the HEXTOF instrument in Hamburg. S.D. and L.R. conducted the experiment at the Fritz Haber Institute using the METIS electron momentum microscope. R.P.X., M.D., L.R., R.E., M.S., T.P. constructed the metadata format, R.P.X. and M.S. implemented them into parser-mpes. R.P.X. wrote the initial manuscript with contributions from M.D. and Y.A. All authors contributed to discussions to bring the manuscript to its final form. Competing interests The authors declare no competing interests. Additional information Supplementary information [is available for this paper at https://doi.org/10.1038/s41597-020-00769-8.](https://doi.org/10.1038/s41597-020-00769-8) Correspondence and requests for materials should be addressed to R.P.X., L.R. or R.E. Reprints and permissions information [is available at www.nature.com/reprints.](http://www.nature.com/reprints) Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the [copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.](http://creativecommons.org/licenses/by/4.0/) © The Author(s) 2020

섹션 본문 29문단 · 31,337자

(제목 없음)

1Characterization of the electronic band structure of solid state materials is routinely performed using photoemission spectroscopy. Recent advancements in short-wavelength light sources and electron detectors give rise to multidimensional photoemission spectroscopy, allowing parallel measurements of the electron spectral function simultaneously in energy, two momentum components and additional physical parameters with single-event detection capability. Efficient processing of the photoelectron event streams at a rate of up to tens of megabytes per second will enable rapid band mapping for materials characterization. We describe an open-source workflow that allows user interaction with billion-count single-electron events in photoemission band mapping experiments, compatible with beamlines at 3 rd and 4 rd generation light sources and table-top laser-based setups. The workflow offers an end-to-end recipe from distributed operations on single-event data to structured formats for downstream scientific tasks and storage to materials science database integration. Both the workflow and processed data can be archived for reuse, providing the infrastructure for documenting the provenance and lineage of photoemission data for future high-throughput experiments.MPES, also called momentum microscopy (MM), is born out of the recent integration of time-of-flight (TOF) electron spectrometers with delay-line detectors (DLDs) and improved electron-optic lens designs 12-15 . Compared with the earlier generations of angle-resolved photoemission spectroscopy (ARPES) 16,17 using hemispherical analyzers to measure the 2D energy-momentum distribution of the photoemitted electrons 18 , MPES is capable of recording single-electron events simultaneously sorted into the (k x , k y , E) coordinates (E: electron energy, k x , k y : parallel momentum components) in band mapping experiments, obviating the need for scanning across sample orientations and subsequent data merging as is the case for similar experiments using a single hemispherical analyzer. Operation of the TOF DLD in MPES requires a pulsed photon source and is directly compatible with 3 rd and 4 th generation light sources 19 as well as laboratory-based table-top setups 20-23 , harnessing their high repetition rates in the range of multi-kilohertz to megahertz to drastically improve the detection speed and efficiency. Mapping of the 3D band structure with sufficient signal-to-noise ratio (SNR) may be achieved on the timescale of minutes. The technological convergence opens up the possibilities to record 3D datasets in dependence of one or more additional parameters, such as spatial location I(x, y, k x , k y , E), probe photon energy, I(k x , k y , E, k z ) 10 , spin-polarization, I(k x , k y , E, S) 9 , or pump-probe time in time-resolved MM, I(k x , k y , E, t) 24 within a reasonable time frame.From the data perspective, the pulsed sources with high repetition rates generate densely sampled data at rates of multiple megabytes per second (MB/s), which has brought about challenges in data processing and management compared with conventional ARPES experiments. The raw data in MPES are single photoelectron events registered by the DLD and the physical quantities related to the detected events are streamed in parallel to the storage files in a hierarchical file format (e.g. HDF5 25 ). A typical dataset involves 10 7 -10 10 detected events with a total size of up to a few hundred gigabytes (GBs), depending on the number of coordinates measured (3D or 4D) and the required SNR. Unlike the large 2D or 3D image-based datasets, such as those obtained in various forms of optical 26,27 and electron microscopy techniques 28,29 , processing and conversion of tabulated single-event data requires additional steps of statistical computing for conversion into standard images. This motivates the current workflow development for efficient data processing and analysis. In data processing and calibration, experiments performed at different facilities share similar procedures going from the raw events to the multidimensional hypervolume with calibrated axes, which is the basis for archiving and downstream analysis. To maintain reproducibility for the particular data source characteristics, data structure and processing procedure, we have summarized the workflow (seeFig. 1) into two open-source software packages (hextof-processor 30 and mpes 31 ), with similar design principles for coping with large-scale facility and table-top experiments, respectively. The core of our approach includes distributed statistical processing at the single-event level using parameters calibrated and determined from preprocessed volumetric datasets, which enables effective instrument diagnostics, artifact correction, and sample condition monitoring. The algorithms involved balance physical knowledge and existing methods in image processing and computer vision. The workflow is illustrated next with data obtained at some of the electron momentum microscopes currently in operation, such as the HEXTOF (high energy X-ray time-of-flight) measurement system 24 at the free-electron laser source FLASH 32 at DESY, and the table-top high harmonic generation-based setup at the Fritz Haber Institute (FHI) 21 involving a commercial TOF and DLD (METIS 1000, SPECS GmbH). We use the material example of tungsten diselenide (WSe 2 ) measured at both experimental setups to demonstrate the workflow execution, because in momentum space, the patent features of WSe 2 band structure and the nonequilibrium dynamics initiated by optical excitation of WSe 2 have been thoroughly studied in the past (see Methods) 24,33-36 . We expect the workflow described here to serve as a blueprint for upcoming software platforms in similar setups to be installed in other facilities or laboratories worldwide.Scientific Data | (2020) 7:442 | https://doi.

Introduction

2Many disciplines in the natural sciences are increasingly dealing with densely sampled multidimensional datasets. The scientific workflows to obtain and process them are becoming increasingly complex due to the provenance and structure of the data and the information needed to be extracted and analyzed 1,2 . In materials science and condensed matter physics, various spectroscopic and structural characterization techniques produce experimental data of distinct formats and characteristics. Their creation and understanding require customized processing and analysis pipelines designed by specialists in the respective fields. The growing incentive for building experimental materials science databases 3 that complement established theoretical counterparts 4 calls for open-source and reusable workflows for data processing 5,6 that transform raw data to shareable formats for downstream query, analysis and comparison by non-specialists of the experimental techniques 7,8 . Among the various properties associated with materials, the electronic band structure (EBS) of condensed matter systems is of vital importance to the understanding of their electronic properties in and out of equilibrium. Multidimensional photoemission spectroscopy (MPES) [9][10][11] is an emerging technique that bears the potential of high-throughput EBS characterization through band mapping experiments and holds promise as an enabling technology for building experimental EBS databases, where data integration requires traceable knowledge of the processing steps between the archived and the raw format. Here we present an open-source workflow that focuses on band mapping data from MPES. In the following, we briefly introduce the technology of MPES and the associated data processing, before providing details on the workflow from raw data to database integration.

Results

3Workflow description. The workflow schematic shown in Fig. 1 starts with raw single-event data from measurements. The data are (i) binned in a distributed fashion in the measurement coordinates, including each of the photoelectrons' position on the detector (X, Y), its TOF, a digital encoder (ENC) axis, and others, if more than four dimensions are acquired in parallel. The binned histogram is (ii) used to estimate the numerical transforms for distortion correction and axis calibration. Next, these transforms are (iii) applied to the raw single-event data to convert the measurement coordinates to the physical axes, (k x , k y , E, t pp ) and others for higher dimensions (see also Fig. 2). Finally, the single-event data are (iv) binned in the transformed grid to yield 3D, 3D + t or other higher-dimensional data with the correct axis values. The outcome may be exported in different formats for storage, visualization and downstream analysis.

4Tasks and software infrastructure. Processing billion-count single-event data requires user interaction for data checking and distributed processing to reduce the time consumption. The general tasks in the workflow include the transformation of data streams to multidimensional histograms, artifact correction and axis calibration. These operations can be efficiently decomposed into column-wise operations of the distributed dataframe format offered by the dask package 37 in Python. While the use of dask dataframes provides the common foundation for interactivity with single events in hextof-processor and mpes, they distinguish themselves by the experimental requirements.

5At large-scale facilities, experiments often record a large number of machine parameters that need to be stored, though only a small number of relevant parameters are needed for downstream processing. Therefore, the hextof-processor package includes a parameter sampling step to retrieve intermediate tabulated data in the Apache Parquet format (https://parquet.apache.org/), a column-based data structure optimized for computational efficiency. This approach reduces the processing overhead in searching through the raw data files every time when data are queried during the subsequent processing. As an open-source project, other beamtime-specific functionalities are added by users to the existing framework at every new experimental run. The mpes package adapts to the much simpler file structure produced at table-top experimental setups and makes direct use of the HDF5 raw data. It comes with added functionalities motivated by the existing issues encountered in data acquisition and downstream processing such as axis calibration, masking, alignment and different forms of artifact correction. The softwares come with detailed documentation and examples online for users to gain familiarity (see Code availability).

6Artifact correction. Artifacts in MPES data come from mechanical imperfections, stray fields (electric and magnetic), uncertainties in the alignment of the sample, light beams and the multistage electron-optic lens systems as well as the data digitization process. Minimizing and correcting instrumental imperfections plays an important role in the validity of downstream analysis. We carry out artifact correction sequentially at the level of single photoelectron events or the data hypervolume obtained from multidimensional histogramming (see Fig. 2). The outcomes are illustrated using the correction of (1) digitization artifact (see Fig. 3) and (2) spherical timing aberration artifact (see Fig. 4), with technical details in Methods.

Axis calibration.

7To transform the measurement axes of the DLD into physically relevant axes for electronic band mapping, calibrations are required, as shown in Fig. 2 (2) Single-event data acquisition is monitored and controlled by the measurement controller computer. The raw data are first streamed and stored onto a hard drive in HDF5 format (.h5) and subsequently processed in the workflow through (3) file reduction (optional), (4)(6) distributed binning, (5) artifact correction and axis calibrations, carried out at the singleevent or the binned data levels. At the end of the workflow, other data formats are generated (such as HDF5, MAT or TIFF) for (7) storage, visualization or downstream analysis for extracting relevant physical parameters. Critical parameters within the workflow may be exported (as workflow parameters files), shared and reused for processing other datasets.

8www.nature.com/scientificdata www.nature.com/scientificdata/ position) with the corresponding scales in data. They are applied either to the binned data hypervolume, or to the single-electron events raw data individually in a distributed fashion before binning. Details on the calibration data transforms are provided in Methods.

9Data storage and format. The simplistic form of the output data hypervolume derived from single-electron events includes non-negative scalar values of the photoemission intensity and the calibrated real-valued axes coordinates, including k x , k y , E, and other parameter dependencies such as the pump-probe time delay t pp . These values are exported as HDF5, MAT or TIFF, with the metadata included as attributes of the files.

10Workflow archiving and reuse. Computational workflows are valued by their reproducibility 38 . Archiving and sharing the workflow parameters among users of the beamlines or facilities allow comparison between experimental runs and reuse for the simultaneous benefits of machine diagnostics and experimental efficiency. To achieve this, we store critical parameters generated within the workflow in a separate file as workflow parameters (see Fig. 1) during each step, including the numerical values used in binning, the intermediate parameters and coefficients of the correction and calibration functions, etc. They can be reused when loading into the processing of other datasets. Data visualization. The adaptation of established scientific visualization methods in the physical sciences 39,40 to band mapping data should incorporate the requirements and knowledge of the data characteristics in this field of research. The band mapping data in 3D (multi-megavoxel) and 3D + t (multi-gigavoxel) include the inherent symmetries from the electronic band structure of the material, but the intensity modulations in the photoemission process 41 , dynamics and sample condition disrupt the original symmetry. The overall goal is to emphasize the features of interest while exploiting the symmetry to simplify the visualization (see Methods). The output files from the processing pipeline are compatible with open-source visualization software such as matplotlib 42 , ParaView 39 and Blender 43 .

Downstream analysis integration.

11Typical photoemission data analysis involves extracting electronic band structure parameters, physical coupling constants and lifetimes via fitting of lineshapes 16 or dynamical models 44 , often carried out specific to the material under study. At the end of our distributed workflow, the data size is on the order of a few to tens of gigabytes, which can be directly loaded into memory on users' local machines for downstream data analysis with custom routines.

12Experimental metadata. The metadata of the data files have a tree structure and contain information of the experimental setting, parameters of the pulsed light source, the detector and the sample under study. A list of top-level metadata parameters is presented in Table 1. A full and current list of all metadata parameters, including the top-level parameters and their constituent lower-level parameters, along with their definitions, units and values, is provided in Supplementary Tables 1-4. For database integration, an accompanying data parser (parser-mpes, see Code availability) for MPES data has been written in accordance with existing standards 45 for computational materials science in NOMAD 8 , featuring an electronic version of the metadata parameter list in the file mpes.nomadmetainfo.json online. The metadata parameter list and the data parser are versioned and are updated based on the corresponding changes in the data structure for photoemission spectroscopy experiments. The existing WSe 2 photoemission data have been integrated into the experimental section of the materials science database NOMAD (see Data availability). Comparison of the W4f spectra at the center and on the edge of the detector plane. The energy spectra are extracted from the corresponding regions, marked by the dots in the same blue and red colors, respectively, in (c). The white stripes crossing at the detector center block the exposed edges of the four-quadrant detector quadrants. (d). The uncorrected and corrected radial-averaged peak TOF positions for the W4f 7/2 core level.

Category name Description

13General parameters Descriptive information of the experiment and facility www.nature.com/scientificdata www.nature.com/scientificdata/

Discussion

14We have designed and implemented an open-source, end-to-end workflow for processing single-event data produced in multidimensional photoemission spectroscopy, linking to downstream tasks, providing guidelines and software for integrating processed data into the NOMAD experimental materials science database. The distributed processing takes full advantage of the single-event data streams directly accessible from the TOF delay-line detector for event-wise correction and calibration and converts the raw events to the calibrated data hypervolume for project-specific downstream analysis. The functionalities within the workflow are publicly accessible through the software packages we have developed (hextof-processor 30 and mpes 31 ). The processing workflow is archived at each step of operation and the processed data may be integrated into experimental database with user-specified metadata. The methods described here are applicable to all existing types of multidimensional photoemission band mapping measurements beyond the static and time-dependent settings described here.

15Our end-to-end workflow from raw data to processed data to database integration provides a fast-track and all-in-one solution to the demands for open experimental data and reproducible research in the materials science community 7,8 . The public repositories for the software packages are the foundations for phased future extension and integration with existing analytical tools in the photoemission spectroscopy community. The modular structure of the packages introduced here allows targeted upgrades by both temporary and dedicated maintainers and users. Casting the workflow in the Python programming environment provides the foundation for convenient incorporation of existing image processing and machine-learning resources 46 for further exploration and understanding of the band mapping datasets, which contain rich information owing to the complex nature of the photoemission process 16,18 . This is especially beneficial for broader adoption of photoemission since the interpretation of photoemission data is often linked to the observed or extracted outstanding features such as local intensity extrema, dispersion kinks and satellites, lineshape parameters and pattern symmetry 16 , therefore, the access to experimental data and the potential integration with existing electronic structure-related software 5,47-49 will facilitate method developments and the direct comparison between experimental results and theoretical band structure calculations within the same programming platform.

Sample preparation.

16Single-crystalline samples of 2D bulk WSe 2 (2H stacking) were purchased from HQ Graphene. Crystals of size around 5 mm × 5 mm × 1 mm were used directly for the measurements. To prepare a clean surface by cleaving, we attached a cleaving pin upright to the sample surface using conducting epoxy (EPOTEC H20) outside the vacuum chamber and removed the pin by mechanical force in ultrahigh vacuum.

17Photoemission experiments. The measurements were conducted using the HEXTOF instrument 24 at the DESY FLASH PG-2 beamline 50 with the free-electron laser (FEL) as well as a laboratory source 21 with a METIS electron momentum microscope (SPECS METIS 1000) installed at the FHI. In the measurements at FLASH, the FEL was tuned to 36.5 eV (or 34.0 nm) and 109 eV (or 11.4 nm), the optical pump pulse had a center wavelength of 775 nm. The measurements at the FHI used a 21.7 eV home-built extreme UV source based on high harmonic generation in Ar gas driven by an optical parametric chirped-pulse amplifier operating at 500 kHz repetition rate 51 . The optical pump pulse is centered at 800 nm. In both FEL and laboratory experiments, the near-infrared light pulses promote the electronic population at the K and K′ high-symmetry points (corresponding to K and ′ K points, respectively, in the projected Brillouin zone obtained from photoemission, as shown in Fig. 5) in momentum space to the excited states via direct optical transitions. The nonequilibrium electronic dynamics are probed via valence and conduction band photoemission 35 as well as core-level photoemission 36 , using s-polarized extreme UV and soft X-ray probe pulses, respectively. Digitization artifact. The time-to-digital converter (TDC) outputs digitized data according to the binning width of the on-board electronics. Data conversion from one digitized format to another in a rebinning process often creates a picket fence-like effect (see Fig. 3). This phenomenon originates from the incommensurate bin size in the two rounds of sampling processes (binning and rebinning). To solve the problem, one introduces a slight amount of uniformly distributed noise, with an amplitude equal to half of the original bin size, to the single-event values when carrying out the bin counts. This is similar to the histogram jittering (or dithering) technique 52,53 used in statistical visualization and computer graphics. Mathematically, the uniformly distributed noise U(0,1) bounded in the range [0,1] is added before binning to a univariate data stream, S = {S i } via,

18here, w b is the bin width. For binning of multivariate data streams, such as the detector X position (or k x ), Y position (or k y ), and the photoelectron TOF (or E), we adopt the same approach individually for each dimension. The effect of jittering in reducing the digitization artifact is demonstrated in Fig. 3.

Spherical timing aberration.

19Electrons entering the TOF tube at different lateral positions travel through different path lengths to reach the detector, which is the origin of the spherical timing aberration as illustrated in Fig. 4. The lateral position-dependent time delay may be expressed as,

20where r is the radial distance from the center of the DLD and TOF 0 is the TOF normalization constant. For a typical field-free region length of d∼1 m in the TOF tube and a DLD screen radius of r = 50 mm, Δ ≈ . × − TOF/TOF 1 25 10 0 3 . Assuming TOF 0 = 0.5 μs, the spherical timing aberration in TOF scale is www.nature.com/scientificdata www.nature.com/scientificdata/ Δ ≈ . TOF 062 sph ns, which is larger than the DLD's temporal resolution of ∼ 0.15 ns. The effect of the spherical timing aberration is visible for a few eV energy range with fine bins but quite small on a large energy range. To illustrate this effect, we use the W 4f core-level data presented in Fig. 4b. For every (X, Y) position on the detector the peak of W 4f 7/2 was fitted with a Voigt profile and the peak positions are shown in Fig. 4c. As the spectra from deep core levels typically do not show dispersion, the deviation from fitting corresponds to the spherical timing aberration of the electron optics. In order to compensate for the spherical timing aberration, we first transform the data from Cartesian to the polar coordinates (see Fig. 4c), and then fit the radial-averaged peak position to a polynomial function of the radius, The fitting results together with the corrected radial distribution are presented in Fig. 4d. Symmetry distortion. Photoemission patterns in the (k x , k y ) plane (i.e. an energy slice) may exhibit distorted symmetry due to the influence of various factors from the instrument, the sample and the experimental geometry on the trajectory of low-energy photoelectrons. Correction of the symmetry distortion yet preserving the intensity features requires the use of symmetry-related landmarks to solve for the symmetrization coordinate transform in the framework of nonrigid image registration 54 . In typical situations with an excellent electron lens alignment, the energy dependence of the momentum distortion within the focused phase space volume covering an energy range of several eV is negligible, so the same coordinate transform can be applied to all energy slices in the volumetric data (including both valence and conduction bands) or simultaneously to all single events. www.nature.com/scientificdata www.nature.com/scientificdata/ Other single-experiment artifacts. (1) Momentum center shift: The momentum center of the emergent photoelectrons travelling through the electron-optic system may experience an energy-dependent shift owing to the slight misalignment in the system or the influence of stray fields. Correction of the center shift requires an energy-dependent center alignment of energy slices. The shift along the energy (or TOF) axis may be estimated using phase correlation 55 or mutual information-based 56 sequential image registration methods, in which the series of energy slices are treated as an image sequence. In a well-shielded and well-aligned electron-optic lens system, generally, the momentum center shift is negligible in the focused photoelectron energy range. (2) Space-charge effect (SCE): The secondary photoelectron clouds originating from the probe and pump pulses cause a "doming effect" of the photoemission intensity distribution around the momentum center of the band structure. This is especially visible in systems with a clear Fermi edge 9,11 or non-dispersing shallow core levels, which may be used as references for calibrating the parameters used for the flattening transform by applying a momentum-dependent shift Δ k k TOF ( , )

21x y sc in the TOF (or the calibrated energy) coordinate of the single-event data.

22Momentum calibration. The scaling factors for momentum calibration are computed by comparing the positions of known high symmetry points in the band structure with their corresponding locations in an energy slice. Suppose A and B are two high symmetry points identifiable (e.g. as local extrema) from the experimental data with pixel positions (X A , Y A ) and (X B , Y B ), and momentum positions, (k x A , k y A ) and (k x B , k y B ), respectively. We calculate the pixel-to-momentum scaling ratios, f X and f Y , along the X (column) and Y (row) directions of a 2D k-space image, respectively. Then, the momentum coordinate (k x , k y ) at each pixel position (X, Y) may be derived.

23Energy calibration. The calibration requires a set of band mapping data measured at different bias voltages (applied between the material sample and the ground), usually sampled with a spacing of 0.5 V in a range of ± 3-5 V around the normally applied bias voltage for a particular sample. The calibration proceeds by finding the TOF feature (e.g. local extrema) correspondences in the 1D energy distribution curves (EDCs) at different biases using the dynamic time warping algorithm 57 . The transformation from the TOF to the photoelectron energy E is approximated as a polynomial function,

24The approximation is sufficiently accurate within a range of ∼ 20 eV, sufficient to cover the entire valence band and some low-lying conduction bands of typical materials. The polynomial coefficients are determined using nonlinear least squares by solving Δ ⋅ = Δ a T E , in which = ... a a a ( , , ) T 1 2 is the coefficient vector while the constant offset a 0 is determined by manual alignment to an energy reference, such as the Fermi level or valence band maximum. The vector ΔE and the matrix ΔT contain, respectively, the pairwise differences of the bias voltages and the polynomial terms of differential TOF values. To calibrate a large energy range including multiple core levels, a piecewise polynomial may be used 11 .

25Pump-probe delay calibration. The time origin ("time zero") in time-resolved photoemission spectroscopy, i.e. the temporal overlap of pump and probe pulses, is determined by fitting of a characteristic trace extracted from the data. Since the readings of the digital encoder (see Fig. 2) are sampled linearly, equally-spaced pump-probe delays are directly convertible from the readings using linear interpolation, given the boundary values of the translation stage positions and the corresponding delay times. For unequally-spaced delays, a delay marker is first added to each data point as a separate column after data acquisition to group together the encoder reading ranges that correspond to the specific time delays. The data binning is carried out over the delay marker column instead of the equally-sampled encoder readings.

26Visualization strategies. We discuss here three methods for the display of volumetric band mapping data, which are, at the same time, the basis for visualizing 3D + t data with time as an animated axis. (1) The orthoslice representation includes orthogonal 2D planes selected in specific regions in the 3D volume 39 , which highlights specific slices deep within the data less visible in a volumetrically rendered view (see Fig. 5a). Along this line, we have developed a software package, 4Dview 58 , to explore 4D data using simultaneously linked orthoslices, which also features contrast adjustment and data integration within a hypervolume of interest. (2) The band-path plot (see Fig. 5b) is a 2D representation of the 3D band mapping volume generated by combining a series of 2D cuts along selected momentum paths (or k-paths) traversing a list of so-called high-symmetry points 59,60 . This representation captures the largest dispersion within the band structure. For volumetric data, the same path may be sampled from all the full energy range to produce the plot shown in Fig. 5b. The analysis and visualization modules in the mpes package include functionalities to compose customized band-path plots. (3) The cut-out view (see Fig. 5c) exposes a specific part of interest in the volumetric data, while not losing the rest 39 . The analysis module in the mpes package provides ways to generate precise cut-outs using position landmarks (e.g. high-symmetry points labelled in Fig. 5) and inequalities.

27www.nature.com/scientificdata www.nature.com/scientificdata/

Data availability

28The single-event photoemission data used for demonstrating the workflow is available on the Zenodo platform at https://doi.org/10.5281/zenodo.2704787 (valence and conduction band photoemission at FEL) 61 , https://doi. org/10.5281/zenodo.3945432 (core-level photoemission at FEL) 62 and https://doi.org/10.5281/zenodo.3987303 (valence band photoemission from laboratory setup) 63 . The preprocessed data are being integrated into the NOMAD database in the domain for experimental materials science data accessible at https://nomad-lab.eu/ prod/rae/gui/search?domain=ems.

Code availability

29The code, including documentation and examples in Jupyter notebooks for implementing the data transformations in the workflow, is available as hextof-processor (https://github.com/momentoscope/ hextof-processor) 30 and mpes (https://github.com/mpes-kit/mpes) 31 . The parser for integrating preprocessed experimental data into the NOMAD database is available as parser-mpes (https://gitlab.mpcdf.mpg.de/rpx/ parser-mpes) 64 .

참고문헌 62건

  1. Alignment by maximisation of mutual information 1993
  2. Angle-resolved photoemission studies of the cuprate superconductors Reviews of Modern Physics · American Physical Society · 2003 10.1103/revmodphys.75.473
  3. (제목 없음) International Journal of Computer Vision · Springer Science+Business Media · 1997 10.1023/a:1007958904918
  4. Operation of a free-electron laser from the extreme ultraviolet to the water window Nature Photonics · Nature Portfolio · 2007 10.1038/nphoton.2007.76
  5. The monochromator beamline at FLASH: performance, capabilities and upgrade plans Journal of Modern Optics · Taylor & Francis · 2011 10.1080/09500340.2011.588344
  6. Time-resolved two-photon photoemission from metal surfaces Journal of Physics Condensed Matter · IOP Publishing · 2002 10.1088/0953-8984/14/43/202
  7. 500 kHz OPCPA delivering tunable sub-20 fs pulses with 15 W average power based on an all-ytterbium laser Optics Express · Optica Publishing Group · 2015 10.1364/oe.23.001491
  8. Matplotlib: A 2D Graphics Environment Computing in Science & Engineering · AIP Publishing · 2007 10.1109/mcse.2007.55
  9. Python Materials Genomics (pymatgen): A robust, open-source python library for materials analysis Computational Materials Science · Elsevier BV · 2012 10.1016/j.commatsci.2012.10.028
  10. Spin resolved bandstructure imaging with a high resolution momentum microscope Ultramicroscopy · Elsevier BV · 2015 10.1016/j.ultramic.2015.03.020
  11. Direct observation of spin-polarized bulk bands in an inversion-symmetric semiconductor Nature Physics · Nature Portfolio · 2014 10.1038/nphys3105
  12. Boosting laboratory photoelectron spectroscopy by megahertz high-order harmonics New Journal of Physics · IOP Publishing · 2015 10.1088/1367-2630/17/1/013035
  13. An overview of the HDF5 technology suite and its applications 2011 10.1145/1966895.1966900
  14. Flow cytometry histograms: Transformations, resolution, and display Cytometry Part A · Wiley · 2008 10.1002/cyto.a.20592
  15. Principles and operation of a new type of electron spectrometer – ArTOF Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2013 10.1016/j.elspec.2013.08.005
  16. New generation of light sources: Present and future Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2014 10.1016/j.elspec.2013.12.007
  17. Efficient subpixel image registration algorithms Optics Letters · Optica Publishing Group · 2008 10.1364/ol.33.000156
  18. Development of a momentum microscope for time resolved band structure imaging Review of Scientific Instruments · American Institute of Physics · 2008 10.1063/1.2918133
  19. Application of a time-of-flight spectrometer with delay-line detector for time- and angle-resolved two-photon photoemission Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2015 10.1016/j.elspec.2015.03.009
  20. Electronic structure of CoSi<sub>2</sub>films on Si(111) studied using time-resolved two-photon photoemission Journal of Physics Condensed Matter · IOP Publishing · 2009 10.1088/0953-8984/21/13/134006
  21. Visualization for the Physical Sciences Computer Graphics Forum · Wiley · 2012 10.1111/j.1467-8659.2012.03184.x
  22. Toward accurate dynamic time warping in linear time and space Intelligent Data Analysis · IOS Press · 2007 10.3233/ida-2007-11508
  23. Space-, time- and spin-resolved photoemission Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2015 10.1016/j.elspec.2015.05.016
  24. Synaptic molecular imaging in spared and deprived columns of mouse barrel cortex with array tomography Scientific Data · Nature Portfolio · 2014 10.1038/sdata.2014.46
  25. Materials science with large-scale data and informatics: Unlocking new opportunities MRS Bulletin · Springer Nature · 2016 10.1557/mrs.2016.93
  26. Generation and Evolution of Spin-, Valley-, and Layer-Polarized Excited Carriers in Inversion-Symmetric <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi>WSe</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math> Physical Review Letters · American Physical Society · 2016 10.1103/physrevlett.117.277201
  27. Nanomaterial datasets to advance tomography in scanning transmission electron microscopy Scientific Data · Nature Portfolio · 2016 10.1038/sdata.2016.41
  28. An experimentalist's guide to the matrix element in angle resolved photoemission Journal of Electron Spectroscopy and Related Phenomena · Elsevier BV · 2016 10.1016/j.elspec.2016.11.007
  29. Enhancing reproducibility for computational methods Science · American Association for the Advancement of Science · 2016 10.1126/science.aah6168
  30. A setup for extreme-ultraviolet ultrafast angle-resolved photoelectron spectroscopy at 50-kHz repetition rate Review of Scientific Instruments · American Institute of Physics · 2019 10106315079677
  31. Direct 3D mapping of the Fermi surface and Fermi velocity Nature Materials · Nature Portfolio · 2017 10.1038/nmat4875
  32. The atomic simulation environment—a Python library for working with atoms Journal of Physics Condensed Matter · IOP Publishing · 2017 10.1088/1361-648x/aa680e
  33. The future of scientific workflows The International Journal of High Performance Computing Applications · SAGE Publishing · 2017 10.1177/1094342017704893
  34. Band structure diagram paths based on crystallography Computational Materials Science · Elsevier BV · 2016 10.1016/j.commatsci.2016.10.015
  35. Data Analysis Techniques for Physical Scientists Cambridge University Press eBooks · 2017 10.1017/9781108241922
  36. Towards efficient data exchange and sharing for big-data driven materials science: metadata and data formats npj Computational Materials · Nature Portfolio · 2017 10.1038/s41524-017-0048-5
  37. Multidimensional photoemission spectroscopy—the space-charge limit New Journal of Physics · IOP Publishing · 2017 10.1088/1367-2630/aaa262
  38. Ultrafast extreme ultraviolet photoemission without space charge Structural Dynamics · AIP Publishing · 2018 10.1063/1.5045578
  39. 2D tungsten diselenide analyzed by XPS Surface Science Spectra · American Institute of Physics · 2018 10.1116/1.5016189
  40. An open experimental database for exploring inorganic materials Scientific Data · Nature Portfolio · 2018 10.1038/sdata.2018.53
  41. Machine learning for molecular and materials science Nature · Nature Portfolio · 2018 10.1038/s41586-018-0337-2
  42. sumo: Command-line tools for plotting and analysis of periodic ab initio calculations The Journal of Open Source Software · Open Journals · 2018 10.21105/joss.00717
  43. Visualizing electronic structures of quantum materials by angle-resolved photoemission spectroscopy Nature Reviews Materials · Nature Portfolio · 2018 10.1038/s41578-018-0047-2
  44. The first annotated set of scanning electron microscopy images for nanoscience Scientific Data · Nature Portfolio · 2018 10.1038/sdata.2018.172
  45. Provenance, workflows, and crystallographic tools in materials science: AiiDA, spglib, and seekpath MRS Bulletin · Springer Nature · 2018 10.1557/mrs.2018.203
  46. Phase contrast time-lapse microscopy datasets with automated and manual cell tracking annotations Scientific Data · Nature Portfolio · 2018 10.1038/sdata.2018.237
  47. Symmetry-guided nonrigid registration: The case for distortion correction in multidimensional photoemission spectroscopy Ultramicroscopy · Elsevier BV · 2019 10.1016/j.ultramic.2019.04.004
  48. High-throughput electronic band structure calculations: Challenges and tools Computational Materials Science · Elsevier BV · 2010 10.1016/j.commatsci.2010.05.010
  49. NOMAD: The FAIR concept for big data-driven materials science MRS Bulletin · Springer Nature · 2018 10.1557/mrs.2018.208
  50. Workflow systems turn raw data into scientific knowledge Nature · Nature Portfolio · 2019 10.1038/d41586-019-02619-z
  51. Data‐Driven Materials Science: Status, Challenges, and Perspectives Advanced Science · Wiley · 2019 10.1002/advs.201900808
  52. Observation of an Excitonic Mott Transition Through Ultrafast Core- <i>cum</i> -Conduction Photoemission Spectroscopy Physical Review Letters · American Physical Society · 2020 10.1103/physrevlett.125.096401
  53. Time- and momentum-resolved photoemission studies using time-of-flight momentum microscopy at a free-electron laser Review of Scientific Instruments · American Institute of Physics · 2020 10.1063/1.5118777
  54. Time- and angle-resolved photoemission spectroscopy of solids in the extreme ultraviolet at 500 kHz repetition rate Review of Scientific Instruments · American Institute of Physics · 2019 10.1063/1.5081938
  55. A setup for extreme-ultraviolet ultrafast angle-resolved photoelectron spectroscopy at 50-kHz repetition rate Review of Scientific Instruments · American Institute of Physics · 2019 10.1063/1.5079677
  56. Data‐Driven Materials Science: Status, Challenges, and Perspectives Advanced Science · Wiley · 2019 10.1002/advs.201900808
  57. Multidimensional photoemission spectra of tungsten diselenide Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2019 10.5281/zenodo.2704788
  58. Photoelectron Spectroscopy Springer series in optical sciences/SPringer series in optical sciences · Springer Nature · 2013 10.1007/978-3-642-37530-9
  59. Journal of Physics: Condensed Matter Journal of Physics Condensed Matter · IOP Publishing · 2020 10.1088/issn.0953-8984
  60. Multidimensional photoemission spectra of tungsten diselenide Zenodo (CERN European Organization for Nuclear Research) · CERN European Organization for Nuclear Research · 2020 10.5281/zenodo.2704787
  61. Datasets for the computational workflow of multidimensional photoemission spectroscopy Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2020 10.5281/zenodo.3987303
  62. Time-resolved core-level photoemission data of tungsten diselenide Zenodo (CERN European Organization for Nuclear Research) · European Organization for Nuclear Research · 2020 10.5281/zenodo.3945432