Efficient end‐to‐end simulation of time‐dependent coherent X‐ray scattering experiments

Himanshu Goel,Oleg Chubar,Ruizi Li,Lutz Wiegart,Max Rakitin,Andrei Fluerasu
DOI: https://doi.org/10.1107/s1600577524001267
IF: 2.557
2024-03-23
Journal of Synchrotron Radiation
Abstract:End‐to‐end simulation of time‐dependent partially coherent X‐ray scattering experiments is demonstrated with the SRW code. A coherent‐mode decomposition and GPU acceleration recently implemented in the code make such simulations feasible and efficient for a typical XPCS experiment at a storage ring light source. This enables more detailed tests and optimization of experimental configurations and data processing prior to beam time as well as understanding experimental data.Physical optics simulations for beamlines and experiments allow users to test experiment feasibility and optimize beamline settings ahead of beam time in order to optimize valuable beam time at synchrotron light sources like NSLS‐II. Further, such simulations also help to develop and test experimental data processing methods and software in advance. The Synchrotron Radiation Workshop (SRW) software package supports such complex simulations. We demonstrate how recent developments in SRW significantly improve the efficiency of physical optics simulations, such as end‐to‐end simulations of time‐dependent X‐ray photon correlation spectroscopy experiments with partially coherent undulator radiation (UR). The molecular dynamics simulation code LAMMPS was chosen to model the sample: a solution of silica nanoparticles in water at room temperature. Real‐space distributions of nanoparticles produced by LAMMPS were imported into SRW and used to simulate scattering patterns of partially coherent hard X‐ray UR from such a sample at the detector. The partially coherent UR illuminating the sample can be represented by a set of orthogonal coherent modes obtained by simulation of emission and propagation of this radiation through the coherent hard X‐ray (CHX) scattering beamline followed by a coherent‐mode decomposition. GPU acceleration is added for several key functions of SRW used in propagation from sample to detector, further improving the speed of the calculations. The accuracy of this simulation is benchmarked by comparison with experimental data.
optics,physics, applied,instruments & instrumentation
What problem does this paper attempt to address?