CyRSoXS : a GPU-accelerated virtual instrument for polarized resonant soft X-ray scattering.
Kumar SaurabhPeter J DudenasEliot GannVeronica G ReynoldsSubhrangsu MukherjeeDaniel SundayTyler B MartinPeter A BeaucageMichael L ChabinycDean M DeLongchampAdarsh KrishnamurthyBaskar GanapathysubramanianPublished in: Journal of applied crystallography (2023)
Polarized resonant soft X-ray scattering (P-RSoXS) has emerged as a powerful synchrotron-based tool that combines the principles of X-ray scattering and X-ray spectroscopy. P-RSoXS provides unique sensitivity to molecular orientation and chemical heterogeneity in soft materials such as polymers and biomaterials. Quantitative extraction of orientation information from P-RSoXS pattern data is challenging, however, because the scattering processes originate from sample properties that must be represented as energy-dependent three-dimensional tensors with heterogeneities at nanometre to sub-nanometre length scales. This challenge is overcome here by developing an open-source virtual instrument that uses graphical processing units (GPUs) to simulate P-RSoXS patterns from real-space material representations with nanoscale resolution. This computational framework - called CyRSoXS (https://github.com/usnistgov/cyrsoxs) - is designed to maximize GPU performance, including algorithms that minimize both communication and memory footprints. The accuracy and robustness of the approach are demonstrated by validating against an extensive set of test cases, which include both analytical solutions and numerical comparisons, demonstrating an acceleration of over three orders of magnitude relative to the current state-of-the-art P-RSoXS simulation software. Such fast simulations open up a variety of applications that were previously computationally unfeasible, including pattern fitting, co-simulation with the physical instrument for operando analytics, data exploration and decision support, data creation and integration into machine learning workflows, and utilization in multi-modal data assimilation approaches. Finally, the complexity of the computational framework is abstracted away from the end user by exposing CyRSoXS to Python using Pybind . This eliminates input/output requirements for large-scale parameter exploration and inverse design, and democratizes usage by enabling seamless integration with a Python ecosystem (https://github.com/usnistgov/nrss) that can include parametric morphology generation, simulation result reduction, comparison with experiment and data fitting approaches.
Keyphrases
- big data
- machine learning
- high resolution
- electronic health record
- data analysis
- dual energy
- computed tomography
- single molecule
- mental health
- health information
- working memory
- physical activity
- social media
- minimally invasive
- patient reported outcomes
- liquid chromatography
- mass spectrometry
- contrast enhanced
- molecular dynamics