Deep-Learning-Based Broadband Lightsource X-ray Absorption Spectroscopy Using Photon-Counting Detector.
Authors
Affiliations (3)
Affiliations (3)
- Department of Instrumental & Electrical Engineering, Xiamen University, Xiamen 361102, China.
- Sichuan Institute of Xiamen University, Chengdu 610213, China.
- Department of Probability & Statistics, Xiamen University, Xiamen 361005, China.
Abstract
Photon-counting detectors enable high-resolution, multienergy X-ray spectroscopy but suffer from substantial spectral distortions under high photon flux due to pile-up and polarization effects. We propose Spectral-Transformer, a deep learning framework for correcting these distortions in broadband lightsource X-ray absorption spectroscopy (BL-XAS). The model fuses spectra and tube current inputs through a bimodal mapping mechanism and applies physics-informed loss functions as feedback to preserve peak positions and total photon numbers. To facilitate robust model training, we also developed a cascade simulation framework that generates high-fidelity training data by coupling the nonlinear effects of polarization and pile-up. Experimental results validate our approach, showing that the corrected spectra achieved exceptional fidelity. Compared to the raw distorted spectra, the Spectral-Transformer reduces the KL divergence to 1.0 × 10<sup>-4</sup>. This enhanced spectral integrity directly translates to superior analytical performance, boosting material classification accuracy from 86.2% to 95.5%.