for

Correlation of refractive index based and THz streaking arrival time tools for a hard X-ray free-electron laser

To fully exploit ultra-short X-ray pulse durations routinely available at X-ray free-electron lasers to follow out-of-equilibrium dynamics, inherent arrival time fluctuations of the X-ray pulse with an external perturbing laser pulse need to be measured. In this work, two methods of arrival time measurement were compared to measure the arrival time jitter of hard X-ray pulses. The methods were photoelectron streaking by a THz field and a transient refractive index change of a semiconductor. The methods were validated by shot-to-shot correction of a pump–probe transient reflectivity measurement. An ultimate shot-to-shot full width at half-maximum error between the devices of 19.2 ± 0.1 fs was measured.




for

A thermal deformation optimization method for cryogenically cooled silicon crystal monochromators under high heat load

A method to optimize the thermal deformation of an indirectly cryo-cooled silicon crystal monochromator exposed to intense X-rays at a low-emittance diffraction-limited synchrotron radiation source is presented. The thermal-induced slope error of the monochromator crystal has been studied as a function of heat transfer efficiency, crystal temperature distribution and beam footprint size. A partial cooling method is proposed, which flattens the crystal surface profile within the beam footprint by modifying the cooling contact area to optimize the crystal peak temperature. The optimal temperature varies with different photon energies, which is investigated, and a proper cooling strategy is obtained to fulfil the thermal distortion requirements over the entire photon energy range. At an absorbed power up to 300 W with a maximum power density of 44.8 W mm−2 normal incidence beam from an in-vacuum undulator, the crystal thermal distortion does not exceed 0.3 µrad at 8.33 keV. This method will provide references for the monochromator design on diffraction-limited synchrotron radiation or free-electron laser light sources.




for

A new modular framework for high-level application development at HEPS

As a representative of the fourth-generation light sources, the High Energy Photon Source (HEPS) in Beijing, China, utilizes a multi-bend achromat lattice to obtain an approximately 100 times emittance reduction compared with third-generation light sources. New technologies bring new challenges to operate the storage ring. In order to meet the beam commissioning requirements of HEPS, a new framework for the development of high-level applications (HLAs) has been created. The key part of the new framework is a dual-layer physical module to facilitate the seamless fusion of physical simulation models with the real machine, allowing for fast switching between different simulation models to accommodate the various simulation scenarios. As a framework designed for development of physical applications, all variables are based on physical quantities. This allows physicists to analytically assess measurement parameters and optimize machine parameters in a more intuitive manner. To enhance both extensibility and adaptability, a modular design strategy is utilized, partitioning the entire framework into discrete modules in alignment with the requirements of HLA development. This strategy not only facilitates the independent development of each module but also minimizes inter-module coupling, thereby simplifying the maintenance and expansion of the entire framework. To simplify the development complexity, the design of the new framework is implemented using Python and is called Python-based Accelerator Physics Application Set (Pyapas). Taking advantage of Python's flexibility and robust library support, we are able to develop and iterate quickly, while also allowing for seamless integration with other scientific computing applications. HLAs for both the HEPS linac and booster have been successfully developed. During the beam commissioning process at the linac, Pyapas's ease of use and reliability have significantly reduced the time required for the beam commissioning operators. As a development framework for HLA designed for the new-generation light sources, Pyapas has the versatility to be employed with HEPS, as well as with other comparable light sources, due to its adaptability.




for

xrdPlanner: exploring area detector geometries for powder diffraction and total scattering experiments

xrdPlanner is a software package designed to aid in the planning and preparation of powder X-ray diffraction and total scattering beam times at synchrotron facilities. Many modern beamlines provide a flexible experimental setup and may have several different detectors available. In combination with a range of available X-ray energies, it often makes it difficult for the user to explore the available parameter space relevant for a given experiment prior to the scheduled beam time. xrdPlanner was developed to provide a fast and straightforward tool that allows users to visualize the accessible part of reciprocal space of their experiment at a given combination of photon energy and detector geometry. To plan and communicate the necessary geometry not only saves time but also helps the beamline staff to prepare and accommodate for an experiment. The program is tailored toward powder X-ray diffraction and total scattering experiments but may also be useful for other experiments that rely on an area detector and for which detector placement and achievable momentum-transfer range are important experimental parameters.




for

DOMAS: a data management software framework for advanced light sources

In recent years, China's advanced light sources have entered a period of rapid construction and development. As modern X-ray detectors and data acquisition technologies advance, these facilities are expected to generate massive volumes of data annually, presenting significant challenges in data management and utilization. These challenges encompass data storage, metadata handling, data transfer and user data access. In response, the Data Organization Management Access Software (DOMAS) has been designed as a framework to address these issues. DOMAS encapsulates four fundamental modules of data management software, including metadata catalogue, metadata acquisition, data transfer and data service. For light source facilities, building a data management system only requires parameter configuration and minimal code development within DOMAS. This paper firstly discusses the development of advanced light sources in China and the associated demands and challenges in data management, prompting a reconsideration of data management software framework design. It then outlines the architecture of the framework, detailing its components and functions. Lastly, it highlights the application progress and effectiveness of DOMAS when deployed for the High Energy Photon Source (HEPS) and Beijing Synchrotron Radiation Facility (BSRF).




for

Open-source electrochemical cell for in situ X-ray absorption spectroscopy in transmission and fluorescence modes

X-ray spectroscopy is a valuable technique for the study of many materials systems. Characterizing reactions in situ and operando can reveal complex reaction kinetics, which is crucial to understanding active site composition and reaction mechanisms. In this project, the design, fabrication and testing of an open-source and easy-to-fabricate electrochemical cell for in situ electrochemistry compatible with X-ray absorption spectroscopy in both transmission and fluorescence modes are accomplished via windows with large opening angles on both the upstream and downstream sides of the cell. Using a hobbyist computer numerical control machine and free 3D CAD software, anyone can make a reliable electrochemical cell using this design. Onion-like carbon nanoparticles, with a 1:3 iron-to-cobalt ratio, were drop-coated onto carbon paper for testing in situ X-ray absorption spectroscopy. Cyclic voltammetry of the carbon paper showed the expected behavior, with no increased ohmic drop, even in sandwiched cells. Chronoamperometry was used to apply 0.4 V versus reversible hydrogen electrode, with and without 15 min of oxygen purging to ensure that the electrochemical cell does not provide any artefacts due to gas purging. The XANES and EXAFS spectra showed no differences with and without oxygen, as expected at 0.4 V, without any artefacts due to gas purging. The development of this open-source electrochemical cell design allows for improved collection of in situ X-ray absorption spectroscopy data and enables researchers to perform both transmission and fluorescence simultaneously. It additionally addresses key practical considerations including gas purging, reduced ionic resistance and leak prevention.




for

Image registration for in situ X-ray nano-imaging of a composite battery cathode with deformation

The structural and chemical evolution of battery electrodes at the nanoscale plays an important role in affecting the cell performance. Nano-resolution X-ray microscopy has been demonstrated as a powerful technique for characterizing the evolution of battery electrodes under operating conditions with sensitivity to their morphology, compositional distribution and redox heterogeneity. In real-world batteries, the electrode could deform upon battery operation, causing challenges for the image registration which is necessary for several experimental modalities, e.g. XANES imaging. To address this challenge, this work develops a deep-learning-based method for automatic particle identification and tracking. This approach was not only able to facilitate image registration with good robustness but also allowed quantification of the degree of sample deformation. The effectiveness of the method was first demonstrated using synthetic datasets with known ground truth. The method was then applied to an experimental dataset collected on an operating lithium battery cell, revealing a high degree of intra- and interparticle chemical complexity in operating batteries.




for

ProSPyX: software for post-processing images of X-ray ptychography with spectral capabilities

X-ray ptychography is a coherent diffraction imaging technique based on acquiring multiple diffraction patterns obtained through the illumination of the sample at different partially overlapping probe positions. The diffraction patterns collected are used to retrieve the complex transmittivity function of the sample and the probe using a phase retrieval algorithm. Absorption or phase contrast images of the sample as well as the real and imaginary parts of the probe function can be obtained. Furthermore, X-ray ptychography can also provide spectral information of the sample from absorption or phase shift images by capturing multiple ptychographic projections at varying energies around the resonant energy of the element of interest. However, post-processing of the images is required to extract the spectra. To facilitate this, ProSPyX, a Python package that offers the analysis tools and a graphical user interface required to process spectral ptychography datasets, is presented. Using the PyQt5 Python open-source module for development and design, the software facilitates extraction of absorption and phase spectral information from spectral ptychographic datasets. It also saves the spectra in file formats compatible with other X-ray absorption spectroscopy data analysis software tools, streamlining integration into existing spectroscopic data analysis pipelines. To illustrate its capabilities, ProSPyX was applied to process the spectral ptychography dataset recently acquired on a nickel wire at the SWING beamline of the SOLEIL synchrotron.




for

Enhancing electrospray ionization efficiency for particle transmission through an aerodynamic lens stack

This work investigates the performance of the electrospray aerosol generator at the European X-ray Free Electron Laser (EuXFEL). This generator is, together with an aerodynamic lens stack that transports the particles into the X-ray interaction vacuum chamber, the method of choice to deliver particles for single-particle coherent diffractive imaging (SPI) experiments at the EuXFEL. For these experiments to be successful, it is necessary to achieve high transmission of particles from solution into the vacuum interaction region. Particle transmission is highly dependent on efficient neutralization of the charged aerosol generated by the electrospray mechanism as well as the geometry in the vicinity of the Taylor cone. We report absolute particle transmission values for different neutralizers and geometries while keeping the conditions suitable for SPI experiments. Our findings reveal that a vacuum ultraviolet ionizer demonstrates a transmission efficiency approximately seven times greater than the soft X-ray ionizer used previously. Combined with an optimized orifice size on the counter electrode, we achieve >40% particle transmission from solution into the X-ray interaction region. These findings offer valuable insights for optimizing electrospray aerosol generator configurations and data rates for SPI experiments.




for

A differentiable simulation package for performing inference of synchrotron-radiation-based diagnostics

The direction of particle accelerator development is ever-increasing beam quality, currents and repetition rates. This poses a challenge to traditional diagnostics that directly intercept the beam due to the mutual destruction of both the beam and the diagnostic. An alternative approach is to infer beam parameters non-invasively from the synchrotron radiation emitted in bending magnets. However, inferring the beam distribution from a measured radiation pattern is a complex and computationally expensive task. To address this challenge we present SYRIPY (SYnchrotron Radiation In PYthon), a software package intended as a tool for performing inference of synchrotron-radiation-based diagnostics. SYRIPY has been developed using PyTorch, which makes it both differentiable and able to leverage the high performance of GPUs, two vital characteristics for performing statistical inference. The package consists of three modules: a particle tracker, Lienard–Wiechert solver and Fourier optics propagator, allowing start-to-end simulation of synchrotron radiation detection to be carried out. SYRIPY has been benchmarked against SRW, the prevalent numerical package in the field, showing good agreement and up to a 50× speed improvement. Finally, we have demonstrated how SYRIPY can be used to perform Bayesian inference of beam parameters using stochastic variational inference.




for

Novel correction procedure for compensating thermal contraction errors in the measurement of the magnetic field of superconducting undulator coils in a liquid helium cryostat

Superconducting undulators (SCUs) can offer a much higher on-axis undulator field than state-of-the-art cryogenic permanent-magnet undulators with the same period and vacuum gap. The development of shorter-period and high-field SCUs would allow the free-electron laser and synchrotron radiation source community to reduce both the length of undulators and the dimensions of the accelerator. Magnetic measurements are essential for characterizing the magnetic field quality of undulators for operation in a modern light source. Hall probe scanning is so far the most mature technique for local field characterization of undulators. This article focuses on the systematic error caused by thermal contraction that influences Hall probe measurements carried out in a liquid helium cryostat. A novel procedure, based on the redundant measurement of the magnetic field using multiple Hall probes at known relative distance, is introduced for the correction of such systematic error.




for

ForMAX – a beamline for multiscale and multimodal structural characterization of hierarchical materials

The ForMAX beamline at the MAX IV Laboratory provides multiscale and multimodal structural characterization of hierarchical materials in the nanometre to millimetre range by combining small- and wide-angle X-ray scattering with full-field microtomography. The modular design of the beamline is optimized for easy switching between different experimental modalities. The beamline has a special focus on the development of novel fibrous materials from forest resources, but it is also well suited for studies within, for example, food science and biomedical research.




for

Determination of optimal experimental conditions for accurate 3D reconstruction of the magnetization vector via XMCD-PEEM

This work presents a detailed analysis of the performance of X-ray magnetic circular dichroism photoemission electron microscopy (XMCD-PEEM) as a tool for vector reconstruction of magnetization. For this, 360° domain wall ring structures which form in a synthetic antiferromagnet are chosen as the model to conduct the quantitative analysis. An assessment is made of how the quality of the results is affected depending on the number of projections that are involved in the reconstruction process, as well as their angular distribution. For this a self-consistent error metric is developed which allows an estimation of the optimum azimuthal rotation angular range and number of projections. This work thus proposes XMCD-PEEM as a powerful tool for vector imaging of complex 3D magnetic structures.




for

A sub-100 nm thickness flat jet for extreme ultraviolet to soft X-ray absorption spectroscopy

Experimental characterization of the structural, electronic and dynamic properties of dilute systems in aqueous solvents, such as nanoparticles, molecules and proteins, are nowadays an open challenge. X-ray absorption spectroscopy (XAS) is probably one of the most established approaches to this aim as it is element-specific. However, typical dilute systems of interest are often composed of light elements that require extreme-ultraviolet to soft X-ray photons. In this spectral regime, water and other solvents are rather opaque, thus demanding radical reduction of the solvent volume and removal of the liquid to minimize background absorption. Here, we present an experimental endstation designed to operate a liquid flat jet of sub-micrometre thickness in a vacuum environment compatible with extreme ultraviolet/soft XAS measurements in transmission geometry. The apparatus developed can be easily connected to synchrotron and free-electron-laser user-facility beamlines dedicated to XAS experiments. The conditions for stable generation and control of the liquid flat jet are analyzed and discussed. Preliminary soft XAS measurements on some test solutions are shown.




for

Modelling the power threshold and optimum thermal deformation of indirectly liquid-nitro­gen cryo-cooled Si monochromators

Maximizing the performance of crystal monochromators is a key aspect in the design of beamline optics for diffraction-limited synchrotron sources. Temperature and deformation of cryo-cooled crystals, illuminated by high-power beams of X-rays, can be estimated with a purely analytical model. The analysis is based on the thermal properties of cryo-cooled silicon crystals and the cooling geometry. Deformation amplitudes can be obtained, quickly and reliably. In this article the concept of threshold power conditions is introduced and defined analytically. The contribution of parameters such as liquid-nitro­gen cooling efficiency, thermal contact conductance and interface contact area of the crystal with the cooling base is evaluated. The optimal crystal illumination and the base temperature are inferred, which help minimize the optics deformation. The model has been examined using finite-element analysis studies performed for several beamlines of the Diamond-II upgrade.




for

PINK: a tender X-ray beamline for X-ray emission spectroscopy

A high-flux beamline optimized for non-resonant X-ray emission spectroscopy (XES) in the tender X-ray energy range has been constructed at the BESSY II synchrotron source. The beamline utilizes a cryogenically cooled undulator that provides X-rays over the energy range 2.1 keV to 9.5 keV. This energy range provides access to XES [and in the future X-ray absorption spectroscopy (XAS)] studies of transition metals ranging from Ti to Cu (Kα, Kβ lines) and Zr to Ag (Lα, Lβ), as well as light elements including P, S, Cl, K and Ca (Kα, Kβ). The beamline can be operated in two modes. In PINK mode, a multilayer monochromator (E/ΔE ≃ 30–80) provides a high photon flux (1014 photons s−1 at 6 keV and 300 mA ring current), allowing non-resonant XES measurements of dilute substances. This mode is currently available for general user operation. X-ray absorption near-edge structure and resonant XAS techniques will be available after the second stage of the PINK commissioning, when a high monochromatic mode (E/ΔE ≃ 10000–40000) will be facilitated by a double-crystal monochromator. At present, the beamline incorporates two von Hamos spectrometers, enabling time-resolved XES experiments with time scales down to 0.1 s and the possibility of two-color XES experiments. This paper describes the optical scheme of the PINK beamline and the endstation. The design of the two von Hamos dispersive spectrometers and sample environment are discussed here in detail. To illustrate, XES spectra of phosphorus complexes, KCl, TiO2 and Co3O4 measured using the PINK setup are presented.




for

Development of dual-beamline photoelectron momentum microscopy for valence orbital analysis

The soft X-ray photoelectron momentum microscopy (PMM) experimental station at the UVSOR Synchrotron Facility has been recently upgraded by additionally guiding vacuum ultraviolet (VUV) light in a normal-incidence configuration. PMM offers a very powerful tool for comprehensive electronic structure analyses in real and momentum spaces. In this work, a VUV beam with variable polarization in the normal-incidence geometry was obtained at the same sample position as the soft X-ray beam from BL6U by branching the VUV beamline BL7U. The valence electronic structure of the Au(111) surface was measured using horizontal and vertical linearly polarized (s-polarized) light excitations from BL7U in addition to horizontal linearly polarized (p-polarized) light excitations from BL6U. Such highly symmetric photoemission geometry with normal incidence offers direct access to atomic orbital information via photon polarization-dependent transition-matrix-element analysis.




for

A new experimental setup for combined fast differential scanning calorimetry and X-ray photon correlation spectroscopy

Synchrotron-radiation-based techniques are a powerful tool for the investigation of materials. In particular, the availability of highly brilliant sources has opened the possibility to develop techniques sensitive to dynamics at the atomic scale such as X-ray photon correlation spectroscopy (XPCS). XPCS is particularly relevant in the study of glasses, which have been often investigated at the macroscopic scale by, for example, differential scanning calorimetry. Here, we show how to adapt a Flash calorimeter to combine XPCS and calorimetric scans. This setup paves the way to novel experiments requiring dynamical and thermodynamic information, ranging from the study of the crystallization kinetics to the study of the glass transition in systems that can be vitrified thanks to the high cooling rates reachable with an ultrafast calorimeter.




for

A distributed data processing scheme based on Hadoop for synchrotron radiation experiments

With the development of synchrotron radiation sources and high-frame-rate detectors, the amount of experimental data collected at synchrotron radiation beamlines has increased exponentially. As a result, data processing for synchrotron radiation experiments has entered the era of big data. It is becoming increasingly important for beamlines to have the capability to process large-scale data in parallel to keep up with the rapid growth of data. Currently, there is no set of data processing solutions based on the big data technology framework for beamlines. Apache Hadoop is a widely used distributed system architecture for solving the problem of massive data storage and computation. This paper presents a set of distributed data processing schemes for beamlines with experimental data using Hadoop. The Hadoop Distributed File System is utilized as the distributed file storage system, and Hadoop YARN serves as the resource scheduler for the distributed computing cluster. A distributed data processing pipeline that can carry out massively parallel computation is designed and developed using Hadoop Spark. The entire data processing platform adopts a distributed microservice architecture, which makes the system easy to expand, reduces module coupling and improves reliability.




for

A closer look at high-energy X-ray-induced bubble formation during soft tissue imaging

Improving the scalability of tissue imaging throughput with bright, coherent X-rays requires identifying and mitigating artifacts resulting from the interactions between X-rays and matter. At synchrotron sources, long-term imaging of soft tissues in solution can result in gas bubble formation or cavitation, which dramatically compromises image quality and integrity of the samples. By combining in-line phase-contrast imaging with gas chromatography in real time, we were able to track the onset and evolution of high-energy X-ray-induced gas bubbles in ethanol-embedded soft tissue samples for tens of minutes (two to three times the typical scan times). We demonstrate quantitatively that vacuum degassing of the sample during preparation can significantly delay bubble formation, offering up to a twofold improvement in dose tolerance, depending on the tissue type. However, once nucleated, bubble growth is faster in degassed than undegassed samples, indicating their distinct metastable states at bubble onset. Gas chromatography analysis shows increased solvent vaporization concurrent with bubble formation, yet the quantities of dissolved gasses remain unchanged. By coupling features extracted from the radiographs with computational analysis of bubble characteristics, we uncover dose-controlled kinetics and nucleation site-specific growth. These hallmark signatures provide quantitative constraints on the driving mechanisms of bubble formation and growth. Overall, the observations highlight bubble formation as a critical yet often overlooked hurdle in upscaling X-ray imaging for biological tissues and soft materials and we offer an empirical foundation for their understanding and imaging protocol optimization. More importantly, our approaches establish a top-down scheme to decipher the complex, multiscale radiation–matter interactions in these applications.




for

Laminography as a tool for imaging large-size samples with high resolution

Despite the increased brilliance of the new generation synchrotron sources, there is still a challenge with high-resolution scanning of very thick and absorbing samples, such as a whole mouse brain stained with heavy elements, and, extending further, brains of primates. Samples are typically cut into smaller parts, to ensure a sufficient X-ray transmission, and scanned separately. Compared with the standard tomography setup where the sample would be cut into many pillars, the laminographic geometry operates with slab-shaped sections significantly reducing the number of sample parts to be prepared, the cutting damage and data stitching problems. In this work, a laminography pipeline for imaging large samples (>1 cm) at micrometre resolution is presented. The implementation includes a low-cost instrument setup installed at the 2-BM micro-CT beamline of the Advanced Photon Source. Additionally, sample mounting, scanning techniques, data stitching procedures, a fast reconstruction algorithm with low computational complexity, and accelerated reconstruction on multi-GPU systems for processing large-scale datasets are presented. The applicability of the whole laminography pipeline was demonstrated by imaging four sequential slabs throughout an entire mouse brain sample stained with osmium, in total generating approximately 12 TB of raw data for reconstruction.




for

Ion beam figuring for X-ray mirrors: history, state-of-the-art and future prospects

Synchrotron light sources require X-ray optics with extremely demanding accuracy for the surface profile, with less than 100 nrad slope errors and sub-nanometre height errors. Such errors are challenging to achieve for aspheres using traditional polishing methods. However, post-polishing error correction can be performed using techniques such as ion beam figuring (IBF) to improve optics to the desired quality. This work presents a brief overview of the history of IBF, introduces some of the challenges for obtaining such demanding figure errors, and highlights the work done at several in-house IBF facilities at synchrotron light sources worldwide to obtain state-of-the-art optical quality.




for

The concept for hard X-ray beamline optics at SLS 2.0

In the scope of the latest upgrade of the Swiss Light Source, five hard X-ray beamlines will be constructed or rebuilt. To use synergies between these beamline projects, a concept is developed here for hard X-ray beamlines that is tailored to the new storage ring. Herein, this concept is described from the source, via the front end, to the beamline optics. The latter will be outlined in detail, including a new and modular concept for hard X-ray monochromators, focusing optics and heat-load management. With a simple, easy-to-operate and robust beamline design, the new beamlines will greatly profit from the increased brilliance of the new storage ring. The performance increase is up to four orders of magnitude, while the beamline concept allows for the broad application of experimental techniques, from propagation-based methods, such as phase-contrast tomography, to imaging techniques with nanometre resolution. At the same time, spectroscopy experiments are possible as well as high-performance serial X-ray crystallography.




for

Developing an in situ LED irradiation system for small-angle X-ray scattering at B21, Diamond Light Source

Beamline B21 at the Diamond Light Source synchrotron in the UK is a small-angle X-ray scattering (SAXS) beamline that specializes in high-throughput measurements via automated sample delivery systems. A system has been developed whereby a sample can be illuminated by a focused beam of light coincident with the X-ray beam. The system is compatible with the highly automated sample delivery system at the beamline and allows a beamline user to select a light source from a broad range of wavelengths across the UV and visible spectrum and to control the timing and duration of the light pulse with respect to the X-ray exposure of the SAXS measurement. The intensity of the light source has been characterized across the wavelength range enabling experiments where a quantitative measure of dose is important. Finally, the utility of the system is demonstrated via measurement of several light-responsive samples.




for

Enhanced X-ray free-electron laser performance with optical klystron and helical undulators

This article presents a demonstration of the improved performance of an X-ray free-electron laser (FEL) using the optical klystron mechanism and helical undulator configuration, in comparison with the common planar undulator configuration without optical klystron. The demonstration was carried out at Athos, the soft X-ray beamline of SwissFEL. Athos has variable-polarization undulators, and small magnetic chicanes placed between every two undulators to fully exploit the optical klystron. It was found that, for wavelengths of 1.24 nm and 3.10 nm, the required length to achieve FEL saturation is reduced by about 35% when using both the optical klystron and helical undulators, with each effect accounting for about half of the improvement. Moreover, it is shown that a helical undulator configuration provides a 20% to 50% higher pulse energy than planar undulators. This work represents an important step towards more compact and high-power FELs, rendering this key technology more efficient, affordable and accessible to the scientific community.




for

Self-calibration strategies for reducing systematic slope measurement errors of autocollimators in deflectometric profilometry

Deflectometric profilometers are used to precisely measure the form of beam shaping optics of synchrotrons and X-ray free-electron lasers. They often utilize autocollimators which measure slope by evaluating the displacement of a reticle image on a detector. Based on our privileged access to the raw image data of an autocollimator, novel strategies to reduce the systematic measurement errors by using a set of overlapping images of the reticle obtained at different positions on the detector are discussed. It is demonstrated that imaging properties such as, for example, geometrical distortions and vignetting, can be extracted from this redundant set of images without recourse to external calibration facilities. This approach is based on the fact that the properties of the reticle itself do not change – all changes in the reticle image are due to the imaging process. Firstly, by combining interpolation and correlation, it is possible to determine the shift of a reticle image relative to a reference image with minimal error propagation. Secondly, the intensity of the reticle image is analysed as a function of its position on the CCD and a vignetting correction is calculated. Thirdly, the size of the reticle image is analysed as a function of its position and an imaging distortion correction is derived. It is demonstrated that, for different measurement ranges and aperture diameters of the autocollimator, reductions in the systematic errors of up to a factor of four to five can be achieved without recourse to external measurements.




for

Asymmetric electrostatic dodecapole: compact bandpass filter with low aberrations for momentum microscopy

Imaging energy filters in photoelectron microscopes and momentum microscopes use spherical fields with deflection angles of 90°, 180° and even 2 × 180°. These instruments are optimized for high energy resolution, and exhibit image aberrations when operated in high transmission mode at medium energy resolution. Here, a new approach is presented for bandpass-filtered imaging in real or reciprocal space using an electrostatic dodecapole with an asymmetric electrode array. In addition to energy-dispersive beam deflection, this multipole allows aberration correction up to the third order. Here, its use is described as a bandpass prefilter in a time-of-flight momentum microscope at the hard X-ray beamline P22 of PETRA III. The entire instrument is housed in a straight vacuum tube because the deflection angle is only 4° and the beam displacement in the filter is only ∼8 mm. The multipole is framed by transfer lenses in the entrance and exit branches. Two sets of 16 different-sized entrance and exit apertures on piezomotor-driven mounts allow selection of the desired bandpass. For pass energies between 100 and 1400 eV and slit widths between 0.5 and 4 mm, the transmitted kinetic energy intervals are between 10 eV and a few hundred electronvolts (full width at half-maximum). The filter eliminates all higher or lower energy signals outside the selected bandpass, significantly improving the signal-to-background ratio in the time-of-flight analyzer.




for

Investigation of fast and efficient lossless compression algorithms for macromolecular crystallography experiments

Structural biology experiments benefit significantly from state-of-the-art synchrotron data collection. One can acquire macromolecular crystallography (MX) diffraction data on large-area photon-counting pixel-array detectors at framing rates exceeding 1000 frames per second, using 200 Gbps network connectivity, or higher when available. In extreme cases this represents a raw data throughput of about 25 GB s−1, which is nearly impossible to deliver at reasonable cost without compression. Our field has used lossless compression for decades to make such data collection manageable. Many MX beamlines are now fitted with DECTRIS Eiger detectors, all of which are delivered with optimized compression algorithms by default, and they perform well with current framing rates and typical diffraction data. However, better lossless compression algorithms have been developed and are now available to the research community. Here one of the latest and most promising lossless compression algorithms is investigated on a variety of diffraction data like those routinely acquired at state-of-the-art MX beamlines.




for

TomoPyUI: a user-friendly tool for rapid tomography alignment and reconstruction

The management and processing of synchrotron and neutron computed tomography data can be a complex, labor-intensive and unstructured process. Users devote substantial time to both manually processing their data (i.e. organizing data/metadata, applying image filters etc.) and waiting for the computation of iterative alignment and reconstruction algorithms to finish. In this work, we present a solution to these problems: TomoPyUI, a user interface for the well known tomography data processing package TomoPy. This highly visual Python software package guides the user through the tomography processing pipeline from data import, preprocessing, alignment and finally to 3D volume reconstruction. The TomoPyUI systematic intermediate data and metadata storage system improves organization, and the inspection and manipulation tools (built within the application) help to avoid interrupted workflows. Notably, TomoPyUI operates entirely within a Jupyter environment. Herein, we provide a summary of these key features of TomoPyUI, along with an overview of the tomography processing pipeline, a discussion of the landscape of existing tomography processing software and the purpose of TomoPyUI, and a demonstration of its capabilities for real tomography data collected at SSRL beamline 6-2c.




for

X-ray optics for the cavity-based X-ray free-electron laser

A cavity-based X-ray free-electron laser (CBXFEL) is a possible future direction in the development of fully coherent X-ray sources. CBXFELs consist of a low-emittance electron source, a magnet system with several undulators and chicanes, and an X-ray cavity. The X-ray cavity stores and circulates X-ray pulses for repeated FEL interactions with electron pulses until the FEL reaches saturation. CBXFEL cavities require low-loss wavefront-preserving optical components: near-100%-reflectivity X-ray diamond Bragg-reflecting crystals, outcoupling devices such as thin diamond membranes or X-ray gratings, and aberration-free focusing elements. In the framework of the collaborative CBXFEL research and development project of Argonne National Laboratory, SLAC National Accelerator Laboratory and SPring-8, we report here the design, manufacturing and characterization of X-ray optical components for the CBXFEL cavity, which include high-reflectivity diamond crystal mirrors, a diamond drumhead crystal with thin membranes, beryllium refractive lenses and channel-cut Si monochromators. All the designed optical components have been fully characterized at the Advanced Photon Source to demonstrate their suitability for the CBXFEL cavity application.




for

Characterization of silicon pore optics for the NewAthena X-ray observatory in the PTB laboratory at BESSY II

The New Advanced Telescope for High ENergy Astrophysics (NewAthena) will be the largest space-based X-ray observatory ever built. It will have an effective area above 1.1 m2 at 1 keV, which corresponds to a polished mirror surface of about 300 m2 due to the grazing incidence. As such a mirror area is not achievable with an acceptable mass even with nested shells, silicon pore optics (SPO) technology will be utilized. In the PTB laboratory at BESSY II, two dedicated beamlines are in use for their characterization with monochromatic radiation at 1 keV and a low divergence well below 2 arcsec: the X-ray Pencil Beam Facility (XPBF 1) and the X-ray Parallel Beam Facility (XPBF 2.0), where beam sizes up to 8 mm × 8 mm are available while maintaining low beam divergence. This beamline is used for characterizing mirror stacks and controlling the focusing properties of mirror modules (MMs) – consisting of four mirror stacks – during their assembly at the beamline. A movable CCD based camera system 12 m from the MM registers the direct and the reflected beams. The positioning of the detector is verified by a laser tracker. The energy-dependent reflectance in double reflection through the pores of an MM with an Ir coating was measured at the PTB four-crystal monochromator beamline in the photon energy range 1.75 keV to 10 keV, revealing the effects of the Ir M edges. The measured reflectance properties are in agreement with the design values to achieve the envisaged effective area.




for

X-ray scattering based scanning tomography for imaging and structural characterization of cellulose in plants

X-ray and neutron scattering have long been used for structural characterization of cellulose in plants. Due to averaging over the illuminated sample volume, these measurements traditionally overlooked the compositional and morphological heterogeneity within the sample. Here, a scanning tomographic imaging method is described, using contrast derived from the X-ray scattering intensity, for virtually sectioning the sample to reveal its internal structure at a resolution of a few micrometres. This method provides a means for retrieving the local scattering signal that corresponds to any voxel within the virtual section, enabling characterization of the local structure using traditional data-analysis methods. This is accomplished through tomographic reconstruction of the spatial distribution of a handful of mathematical components identified by non-negative matrix factorization from the large dataset of X-ray scattering intensity. Joint analysis of multiple datasets, to find similarity between voxels by clustering of the decomposed data, could help elucidate systematic differences between samples, such as those expected from genetic modifications, chemical treatments or fungal decay. The spatial distribution of the microfibril angle can also be analyzed, based on the tomographically reconstructed scattering intensity as a function of the azimuthal angle.




for

Nonlinear optimization for a low-emittance storage ring

A multi-objective genetic algorithm (MOGA) is a powerful global optimization tool, but its results are considerably affected by the crossover parameter ηc. Finding an appropriate ηc demands too much computing time because MOGA needs be run several times in order to find a good ηc. In this paper, a self-adaptive crossover parameter is introduced in a strategy to adopt a new ηc for every generation while running MOGA. This new scheme has also been adopted for a multi-generation Gaussian process optimization (MGGPO) when producing trial solutions. Compared with the existing MGGPO and MOGA, the MGGPO and MOGA with the new strategy show better performance in nonlinear optimization for the design of low-emittance storage rings.




for

Revealing the structure of the active sites for the electrocatalytic CO2 reduction to CO over Co single atom catalysts using operando XANES and machine learning

Transition-metal nitro­gen-doped carbons (TM-N-C) are emerging as a highly promising catalyst class for several important electrocatalytic processes, including the electrocatalytic CO2 reduction reaction (CO2RR). The unique local environment around the singly dispersed metal site in TM-N-C catalysts is likely to be responsible for their catalytic properties, which differ significantly from those of bulk or nanostructured catalysts. However, the identification of the actual working structure of the main active units in TM-N-C remains a challenging task due to the fluctional, dynamic nature of these catalysts, and scarcity of experimental techniques that could probe the structure of these materials under realistic working conditions. This issue is addressed in this work and the local atomistic and electronic structure of the metal site in a Co–N–C catalyst for CO2RR is investigated by employing time-resolved operando X-ray absorption spectroscopy (XAS) combined with advanced data analysis techniques. This multi-step approach, based on principal component analysis, spectral decomposition and supervised machine learning methods, allows the contributions of several co-existing species in the working Co–N–C catalysts to be decoupled, and their XAS spectra deciphered, paving the way for understanding the CO2RR mechanisms in the Co–N–C catalysts, and further optimization of this class of electrocatalytic systems.




for

StreamSAXS: a Python-based workflow platform for processing streaming SAXS/WAXS data

StreamSAXS is a Python-based small- and wide-angle X-ray scattering (SAXS/WAXS) data analysis workflow platform with graphical user interface (GUI). It aims to provide an interactive and user-friendly tool for analysis of both batch data files and real-time data streams. Users can easily create customizable workflows through the GUI to meet their specific needs. One characteristic of StreamSAXS is its plug-in framework, which enables developers to extend the built-in workflow tasks. Another feature is the support for both already acquired and real-time data sources, allowing StreamSAXS to function as an offline analysis platform or be integrated into large-scale acquisition systems for end-to-end data management. This paper presents the core design of StreamSAXS and provides user cases demonstrating its utilization for SAXS/WAXS data analysis in offline and online scenarios.




for

BEATS: BEAmline for synchrotron X-ray microTomography at SESAME

The ID10 beamline of the SESAME (Synchrotron-light for Experimental Science and Applications in the Middle East) synchrotron light source in Jordan was inaugurated in June 2023 and is now open to scientific users. The beamline, which was designed and installed within the European Horizon 2020 project BEAmline for Tomography at SESAME (BEATS), provides full-field X-ray radiography and microtomography imaging with monochromatic or polychromatic X-rays up to photon energies of 100 keV. The photon source generated by a 2.9 T wavelength shifter with variable gap, and a double-multilayer monochromator system allow versatile application for experiments requiring either an X-ray beam with high intensity and flux, and/or a partially spatial coherent beam for phase-contrast applications. Sample manipulation and X-ray detection systems are designed to allow scanning samples with different size, weight and material, providing image voxel sizes from 13 µm down to 0.33 µm. A state-of-the-art computing infrastructure for data collection, three-dimensional (3D) image reconstruction and data analysis allows the visualization and exploration of results online within a few seconds from the completion of a scan. Insights from 3D X-ray imaging are key to the investigation of specimens from archaeology and cultural heritage, biology and health sciences, materials science and engineering, earth, environmental sciences and more. Microtomography scans and preliminary results obtained at the beamline demonstrate that the new beamline ID10-BEATS expands significantly the range of scientific applications that can be targeted at SESAME.




for

TEMPUS, a Timepix4-based system for the event-based detection of X-rays

TEMPUS is a new detector system being developed for photon science. It is based on the Timepix4 chip and, thus, it can be operated in two distinct modes: a photon-counting mode, which allows for conventional full-frame readout at rates up to 40 kfps; and an event-driven time-stamping mode, which allows excellent time resolution in the nanosecond regime in measurements with moderate X-ray flux. In this paper, the initial prototype, a single-chip device, is introduced, and the readout system described. Moreover, and in order to evaluate its capabilities, some tests were performed at PETRA III and ESRF for which results are also presented.




for

New opportunities for time-resolved imaging using diffraction-limited storage rings

The advent of diffraction-limited storage rings (DLSRs) has boosted the brilliance or coherent flux by one to two orders of magnitude with respect to the previous generation. One consequence of this brilliance enhancement is an increase in the flux density or number of photons per unit of area and time, which opens new possibilities for the spatiotemporal resolution of X-ray imaging techniques. This paper studies the time-resolved microscopy capabilities of such facilities by benchmarking the ForMAX beamline at the MAX IV storage ring. It is demonstrated that this enhanced flux density using a single harmonic of the source allows micrometre-resolution time-resolved imaging at 2000 tomograms per second and 1.1 MHz 2D acquisition rates using the full dynamic range of the detector system.




for

A versatile sample-delivery system for X-ray photoelectron spectroscopy of in-flight aerosols and free nanoparticles at MAX IV Laboratory

Aerosol science is of utmost importance for both climate and public health research, and in recent years X-ray techniques have proven effective tools for aerosol-particle characterization. To date, such methods have often involved the study of particles collected onto a substrate, but a high photon flux may cause radiation damage to such deposited particles and volatile components can potentially react with the surrounding environment after sampling. These and many other factors make studies on collected aerosol particles challenging. Therefore, a new aerosol sample-delivery system dedicated to X-ray photoelectron spectroscopy studies of aerosol particles and gas molecules in-flight has been developed at the MAX IV Laboratory. The aerosol particles are brought from atmospheric pressure to vacuum in a continuous flow, ensuring that the sample is constantly renewed, thus avoiding radiation damage, and allowing measurements on the true unsupported aerosol. At the same time, available gas molecules can be used for energy calibration and to study gas-particle partitioning. The design features of the aerosol sample-delivery system and important information on the operation procedures are described in detail here. Furthermore, to demonstrate the experimental range of the aerosol sample-delivery system, results from aerosol particles of different shape, size and composition are presented, including inorganic atmospheric aerosols, secondary organic aerosols and engineered nanoparticles.




for

Development and commissioning of a broadband online X-ray spectrometer for the SXFEL Facility

A broadband online X-ray spectrometer has been designed and commissioned at the SUD beamline of the Shanghai Soft X-ray Free-Electron Laser Facility, which can deliver both SASE and seeded FEL pulses to user experiments, spanning the photon energy range of 50–620 eV. The resolving powers of the spectrometer calibrated via online measurement at 92 eV and 249 eV are ∼20000 and ∼15000, respectively, and the absolute photon energy is characterized by an electron time-of-flight spectrometer. The high energy resolution provided by the spectrometer can differentiate the fine structure in the FEL spectrum, to determine its pulse length.




for

Spexwavepy: an open-source Python package for X-ray wavefront sensing using speckle-based techniques

In situ wavefront sensing plays a critical role in the delivery of high-quality beams for X-ray experiments. X-ray speckle-based techniques stand out among other in situ techniques for their easy experimental setup and various data acquisition modes. Although X-ray speckle-based techniques have been under development for more than a decade, there are still no user-friendly software packages for new researchers to begin with. Here, we present an open-source Python package, spexwavepy, for X-ray wavefront sensing using speckle-based techniques. This Python package covers a variety of X-ray speckle-based techniques, provides plenty of examples with real experimental data and offers detailed online documentation for users. We hope it can help new researchers learn and apply the speckle-based techniques for X-ray wavefront sensing to synchrotron radiation and X-ray free-electron laser beamlines.




for

Development of a high-performance and cost-effective in-vacuum undulator

In-vacuum undulators (IVUs), which have become an essential tool in synchrotron radiation facilities, have two technical challenges toward further advancement: one is a strong attractive force between top and bottom magnetic arrays, and the other is a stringent requirement on magnetic materials to avoid demagnetization. The former imposes a complicated design on mechanical and vacuum structures, while the latter limits the possibility of using high-performance permanent magnets. To solve these issues, a number of technical developments have been made, such as force cancellation and modularization of magnetic arrays, and enhancement of resistance against demagnetization by means of a special magnetic circuit. The performance of a new IVU built upon these technologies has revealed their effectiveness for constructing high-performance IVUs in a cost-effective manner.




for

Development of an X-ray ionization beam position monitor for PAL-XFEL soft X-rays

The Pohang Accelerator Laboratory X-ray Free-Electron Laser (PAL-XFEL) operates hard X-ray and soft X-ray beamlines for conducting scientific experiments providing intense ultrashort X-ray pulses based on the self-amplified spontaneous emission (SASE) process. The X-ray free-electron laser is characterized by strong pulse-to-pulse fluctuations resulting from the SASE process. Therefore, online photon diagnostics are very important for rigorous measurements. The concept of photo-absorption and emission using solid materials is seldom considered in soft X-ray beamline diagnostics. Instead, gas monitoring detectors, which utilize the photo-ionization of noble gas, are employed for monitoring the beam intensity. To track the beam position at the soft X-ray beamline in addition to those intensity monitors, an X-ray ionization beam position monitor (XIBPM) has been developed and characterized at the soft X-ray beamline of PAL-XFEL. The XIBPM utilizes ionization of either the residual gas in an ultra-high-vacuum environment or injected krypton gas, along with a microchannel plate with phosphor. The XIBPM was tested separately for monitoring horizontal and vertical beam positions, confirming the feasibility of tracking relative changes in beam position both on average and down to single-shot measurements. This paper presents the basic structure and test results of the newly developed non-invasive XIBPM.




for

A 1D imaging soft X-ray spectrometer for the small quantum systems instrument at the European XFEL

A 1D imaging soft X-ray spectrometer installed on the small quantum systems (SQS) scientific instrument of the European XFEL is described. It uses movable cylindrical constant-line-spacing gratings in the Rowland configuration for energy dispersion in the vertical plane, and Wolter optics for simultaneous 1D imaging of the source in the horizontal plane. The soft X-ray fluorescence spectro-imaging capability will be exploited in pump–probe measurements and in investigations of propagation effects and other nonlinear phenomena.




for

Diamond sensors for hard X-ray energy and position resolving measurements at the European XFEL

The diagnostics of X-ray beam properties has a critical importance at the European X-ray Free-Electron Laser facility. Besides existing diagnostic components, utilization of a diamond sensor was proposed to achieve radiation-hard, non-invasive beam position and pulse energy measurements for hard X-rays. In particular, with very hard X-rays, diamond-based sensors become a useful complement to gas-based devices which lose sensitivity due to significantly reduced gas cross-sections. The measurements presented in this work were performed with diamond sensors consisting of an electronic-grade single-crystal chemical-vapor-deposition diamond with position-sensitive resistive electrodes in a duo-lateral configuration. The results show that the diamond sensor delivers pulse-resolved X-ray beam position data at 2.25 MHz with an uncertainty of less than 1% of the beam size. To our knowledge this is the first demonstration of pulse-resolved position measurements at the MHz rate using a transmissive diamond sensor at a free-electron laser facility. It can therefore be a valuable tool for X-ray free-electron lasers, especially for high-repetition-rate machines, enabling applications such as beam-based alignment and intra-pulse-train position feedback.




for

The diamond–silicon carbide composite Skeleton® as a promising material for substrates of intense X-ray beam optics

The paper considers the possibility of using the diamond-silicon carbide composite Skeleton® with a technological coating of polycrystalline silicon as a substrate for X-ray mirrors used with powerful synchrotron radiation sources (third+ and fourth generation). Samples were studied after polishing to provide the following surface parameters: root-mean-square flatness ≃ 50 nm, micro-roughness on the frame 2 µm × 2 µm σ ≃ 0.15 nm. The heat capacity, thermal conductivity and coefficient of linear thermal expansion were investigated. For comparison, a monocrystalline silicon sample was studied under the same conditions using the same methods. The value of the coefficient of linear thermal expansion turned out to be higher than that of monocrystalline silicon and amounted to 4.3 × 10−6 K−1, and the values of thermal conductivity (5.0 W cm−1 K−1) and heat capacity (1.2 J K−1 g−1) also exceeded the values for Si. Thermally induced deformations of both Skeleton® and monocrystalline silicon samples under irradiation with a CO2 laser beam have also been experimentally studied. Taking into account the obtained thermophysical constants, the calculation of thermally induced deformation under irradiation with hard (20 keV) X-rays showed almost three times less deformation of the Skeleton® sample than of the monocrystalline silicon sample.




for

Development and performance simulations of a soft X-ray and XUV split-and-delay unit at beamlines FL23/24 at FLASH2 for time-resolved two-color pump–probe experiments

The split-and-delay unit (SDU) at FLASH2 will be upgraded to enable the simultaneous operation of two temporally, spatially and spectrally separated probe beams when the free-electron laser undulators are operated in a two-color scheme. By means of suitable thin filters and an optical grating beam path a wide range of combinations of photon energies in the spectral range from 150 eV to 780 eV can be chosen. In this paper, simulations of the spectral transmission and performance parameters of the filter technique are discussed, along with a monochromator with dispersion compensation presently under construction.




for

MuscleX: data analysis software for fiber diffraction patterns from muscle

MuscleX is an integrated, open-source computer software suite for data reduction of X-ray fiber diffraction patterns from striated muscle and other fibrous systems. It is written in Python and runs on Linux, Microsoft Windows or macOS. Most modules can be run either from a graphical user interface or in a `headless mode' from the command line, suitable for incorporation into beamline control systems. Here, we provide an overview of the general structure of the MuscleX software package and describe the specific features of the individual modules as well as examples of applications.




for

MLgrating: a program for simulating multilayer gratings for tender X-ray applications

Multilayer gratings are increasingly popular optical elements at X-ray beamlines, as they can provide much higher photon flux in the tender X-ray range compared with traditional single-layer coated gratings. While there are several proprietary software tools that provide the functionality to simulate the efficiencies of such gratings, until now the X-ray community has lacked an open-source alternative. Here MLgrating is presented, a program for simulating the efficiencies of both multilayer gratings and single-layer coated gratings for X-ray applications. MLgrating is benchmarked by comparing its output with that of other software tools and plans are discussed for how the program could be extended in the future.




for

In situ characterization of stresses, deformation and fracture of thin films using transmission X-ray nanodiffraction microscopy. Corrigendum

Errors in variable subscripts, equations and Fig. 8 in Section 3.2 of the article by Lotze et al. [(2024). J. Synchrotron Rad. 31, 42–52] are corrected.