<i>MapsTorch</i> : automatic differentiation for X-ray fluorescence data analysis

X-ray fluorescence (XRF) is a popular spectroscopy technique for elemental analysis. Spectrum fitting and parameter tuning are at the core of XRF analysis and are conventionally manually intensive, especially for synchrotron experiments involving large amounts of diverse samples. This work introduces the automatic differentiation (AD) technique to XRF and an open-source package called MapsTorch. By transforming an analytical model of the XRF spectrum into a differentiable computation graph with AD, MapsTorch enables robust optimization of parameters and elemental intensities. We evaluate MapsTorch by conducting computational experiments on a large number of historical synchrotron XRF datasets and compare its performance with the currently practiced fitting tool NLopt. The results show that MapsTorch consistently achieves high-quality fits and often leads to better fitting quality than NLopt, particularly in tasks such as initial spectrum fitting and elemental intensity refinement. The robust performance of MapsTorch paves the way for developing automated and high-throughput XRF data analysis workflows to handle the increasing data volumes expected from next-generation synchrotron facilities.

Authors

Institutions

Publication Details

Journal
Journal of Synchrotron Radiation
Published
2025-12-05
DOI
https://doi.org/10.1107/s160057752501032x
Primary Topic
X-ray Spectroscopy and Fluorescence Analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

MapsTorch : automatic differentiation for X-ray fluorescence data analysis

Olga Antipova, Zichao Wendy Di, Arthur Glowacki, Xiangyu Yin et al.
Journal of Synchrotron Radiation
X-ray Spectroscopy and Fluorescence Analysis
article

MapsTorch : automatic differentiation for X-ray fluorescence data analysis

Olga Antipova, Zichao Wendy Di, Arthur Glowacki, Xiangyu Yin, Si Chen, Yi Jiang
article en

Abstract

X-ray fluorescence (XRF) is a popular spectroscopy technique for elemental analysis. Spectrum fitting and parameter tuning are at the core of XRF analysis and are conventionally manually intensive, especially for synchrotron experiments involving large amounts of diverse samples. This work introduces the automatic differentiation (AD) technique to XRF and an open-source package called MapsTorch. By transforming an analytical model of the XRF spectrum into a differentiable computation graph with AD, MapsTorch enables robust optimization of parameters and elemental intensities. We evaluate MapsTorch by conducting computational experiments on a large number of historical synchrotron XRF datasets and compare its performance with the currently practiced fitting tool NLopt. The results show that MapsTorch consistently achieves high-quality fits and often leads to better fitting quality than NLopt, particularly in tasks such as initial spectrum fitting and elemental intensity refinement. The robust performance of MapsTorch paves the way for developing automated and high-throughput XRF data analysis workflows to handle the increasing data volumes expected from next-generation synchrotron facilities.

Journal of Synchrotron RadiationVol. 33(1)
Argonne National Laboratory (US)
U.S. Department of Energy, Office of Science, Laboratory Directed Research and Development, Argonne National Laboratory
Openalex Percentile: Top 48%
X-ray Spectroscopy and Fluorescence Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

<i>MapsTorch</i> : automatic differentiation for X-ray fluorescence data analysis — Olga Antipova, Zichao Wendy Di, et al. · Journal of Synchrotron Radiation (2025) | TGRS Research Map | TGRS