Engineering PapersSearch

DOE OSTI · 3374575

MapsTorch : automatic differentiation for X-ray fluorescence data analysis

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Yin, Xiangyu [Argonne National Laboratory (ANL), Argonne, IL (United States)], Di, Zichao [Argonne National Laboratory (ANL), Argonne, IL (United States)], Antipova, Olga [Argonne National Laboratory (ANL), Argonne, IL (United States)], Chen, Si [Argonne National Laboratory (ANL), Argonne, IL (United States)], Jiang, Yi [Argonne National Laboratory (ANL), Argonne, IL (United States)], Glowacki, Arthur [Argonne National Laboratory (ANL), Argonne, IL (United States)]. 2026-01-01. MapsTorch : automatic differentiation for X-ray fluorescence data analysis. https://doi.org/10.1107/s160057752501032x

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related reports

Subventricular Accumulation of Cu in the Aging Mouse Brain Does Not Associate with Anticipated Increases in Markers of Oxidative Stress

Natural aging is associated with mild memory loss and cognitive decline, and age is the greatest risk factor for neurodegenerative diseases, such as Alzheimer’s disease. There is substantial evidence that oxidative stress is a major contributor to both natural aging and neurodegenerative disease, and coincidently, levels of redox active metals such as Fe and Cu are known to be elevated later in life. Recently, a pronounced age-related increase in Cu content has been reported to occur in mice and rats around a vital regulatory brain region, the subventricular zone of lateral ventricles. In our study herein, we have characterized lateral ventricle Cu content in a unique murine model of accelerated aging, senescence accelerated mouse-prone 8 (SAMP8) mice. Our results confirm an age-related increase in ventricle Cu content, consistent with the studies by others in wild-type mice and rats. Specifically, we observed Cu content to increase over the time frame 1 to 5 months and 5 to 9 months, but interestingly, no significant increase occurred between 9 and 12 months (although brain Cu content at 12 months was significantly elevated relative to 1 and 5 month-old animals). Despite the magnitude of Cu increase observed within the cells that comprise the subventricular zone of lateral ventricles (average 3 mM Cu, with isolated subcellular concentrations of 17 mM), we did not detect spectroscopic markers of thiol oxidation, protein aggregation, or lipid oxidation. The lack of evidence for oxidative stress in ex vivo animal tissue is in contrast to in vitro studies demonstrating that thiol, protein, and lipid oxidation is pronounced at these Cu concentrations. We suggest that our findings most likely indicate that the Cu ions in this brain region are sequestered in an unreactive form, possibly extended chains of Cu-thiolate complexes, which do not readily redox cycle in the aqueous cytosol. In conclusion, these results also appear to partially challenge the long-held view that age-related increases in brain metal content drive oxidative stress as we did not observe a concomitant association between age-related Cu increase and markers of oxidative stress, nor did we observe a net increase in Cu content between mice aged 9 and 12 months.

X-ray fluorescence