CyRSoXS: A GPU-accelerated virtual instrument for Polarized Resonant Soft X-ray Scattering (P-RSoXS)

Polarized Resonant Soft X-ray scattering (P-RSoXS) has emerged as a powerful synchrotron-based tool to measure structure in complex, chemically heterogeneous systems. P-RSoXS combines principles of X-ray scattering and X-ray spectroscopy; this combination provides unique sensitivity to molecular orientation and chemical heterogeneity in soft materials such as polymers and biomaterials. Quantitative extraction of orientation information from the P-RSoXS pattern data is challenging because the scattering processes depend on properties that are represented as three-dimensional tensors with heterogeneities at nanometer to sub-nanometer length scales. We overcome this challenge 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. Our computational framework -- called CyRSoXS -- is designed to maximize GPU performance, including algorithms that minimize both communication and memory footprints. We demonstrate the accuracy and robustness of our approach by validating against an extensive set of test cases, which include both analytical solutions and numerical comparisons, demonstrating a speedup of over three orders to the current state-of-the-art P-RSoXS simulation software. Such fast simulations open up a variety of applications that were previously computationally infeasible, including (a) pattern fitting, (b) co-simulation with the physical instrument for operando analytics, data exploration, and decision support, (c) data creation and integration into machine learning workflows, and (d) utilization in multi-modal data assimilation approaches. Finally, we abstract away the complexity of the computational framework from the end-user by exposing CyRSoXS to Python using Pybind. This democratizes usage by enabling seamless integration with various Python libraries, and also eliminates I/O requirements for large-scale parameter exploration and inverse design.

Data and Resources

Field Value
accessLevel public
accrualPeriodicity irregular
bureauCode {006:55}
catalog_@context https://project-open-data.cio.gov/v1.1/schema/data.json
catalog_conformsTo https://project-open-data.cio.gov/v1.1/schema
catalog_describedBy https://project-open-data.cio.gov/v1.1/schema/catalog.json
identifier ark:/88434/mds2-2788
issued 2023-03-07
landingPage https://data.nist.gov/od/id/mds2-2788
language {en}
license https://www.nist.gov/open/license
modified 2022-09-19 00:00:00
programCode {006:045}
publisher National Institute of Standards and Technology
resource-type Dataset
source_datajson_identifier true
source_hash 74023b12c012ccf6eef44bedad06b423b405b777
source_schema_version 1.1
theme {"Physics:Condensed matter","Mathematics and Statistics:Numerical methods and software","Materials:Modeling and computational material science","Materials:Materials characterization",Materials:Polymers,Materials:Composites,"Chemistry:Molecular characterization","Electronics:Organic electronics"}
Groups
  • AmeriGEOSS
  • National Provider
  • North America
Tags
  • AmeriGEO
  • AmeriGEOSS
  • CKAN
  • GEO
  • GEOSS
  • National
  • North America
  • United States
  • c_
  • computation
  • cuda
  • polymer
  • polymer-nanocomposite
  • polymer-solution
  • python
  • software
  • tool
  • x-ray-scattering
isopen False
license_id other-license-specified
license_title other-license-specified
maintainer Dean DeLongchamp
maintainer_email dean.delongchamp@nist.gov
metadata_created 2025-09-23T14:40:49.217079
metadata_modified 2025-09-23T14:40:49.217084
notes Polarized Resonant Soft X-ray scattering (P-RSoXS) has emerged as a powerful synchrotron-based tool to measure structure in complex, chemically heterogeneous systems. P-RSoXS combines principles of X-ray scattering and X-ray spectroscopy; this combination provides unique sensitivity to molecular orientation and chemical heterogeneity in soft materials such as polymers and biomaterials. Quantitative extraction of orientation information from the P-RSoXS pattern data is challenging because the scattering processes depend on properties that are represented as three-dimensional tensors with heterogeneities at nanometer to sub-nanometer length scales. We overcome this challenge 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. Our computational framework -- called CyRSoXS -- is designed to maximize GPU performance, including algorithms that minimize both communication and memory footprints. We demonstrate the accuracy and robustness of our approach by validating against an extensive set of test cases, which include both analytical solutions and numerical comparisons, demonstrating a speedup of over three orders to the current state-of-the-art P-RSoXS simulation software. Such fast simulations open up a variety of applications that were previously computationally infeasible, including (a) pattern fitting, (b) co-simulation with the physical instrument for operando analytics, data exploration, and decision support, (c) data creation and integration into machine learning workflows, and (d) utilization in multi-modal data assimilation approaches. Finally, we abstract away the complexity of the computational framework from the end-user by exposing CyRSoXS to Python using Pybind. This democratizes usage by enabling seamless integration with various Python libraries, and also eliminates I/O requirements for large-scale parameter exploration and inverse design.
num_resources 1
num_tags 18
title CyRSoXS: A GPU-accelerated virtual instrument for Polarized Resonant Soft X-ray Scattering (P-RSoXS)