Polar coordinate-based background removal algorithm for 2D x-ray scattering data
During the data collection of x-ray diffraction experiments with various detectors, background signals are often unavoidable along with the sample signal. Addressing the background during post-data analysis is not a straightforward task. In this work, we introduced an algorithm specifically designed to handle centrally symmetric two-dimensional x-ray diffraction data and processed the data using the Python programming language. The two-dimensional data are first transformed from Cartesian coordinates to polar coordinates. Second, utilizing existing background processing algorithms, one-dimensional background curves are identified for each azimuth angle. These background data are then merged to generate two-dimensional background data. Finally, by subtracting the background from the original data, we obtain the clear diffraction signal. The algorithm can effectively remove the background from x-ray diffraction data and exhibits the ability to handle backgrounds with high intensity and irregular shapes, and the discernibility of the weak signal is significantly enhanced. Moreover, researchers have the flexibility to choose whether to preserve or eliminate the signals from additional amorphous components based on their needs. This algorithm will provide researchers with the possibility for further data analysis.
Authors
- Shuaishuai Yin (ORCID: https://orcid.org/0009-0006-8246-4926)
- Yi‐Tao Cui (ORCID: https://orcid.org/0000-0001-7104-0059)
- Xu Zheng (ORCID: https://orcid.org/0000-0002-2398-9283)
- X. M. Zhang (ORCID: https://orcid.org/0009-0001-6604-989X)
- Tong Yang (ORCID: https://orcid.org/0000-0003-2402-5854)
- Xiaolong Li (ORCID: https://orcid.org/0000-0002-1674-9345)
- Jianwen Jiang (ORCID: https://orcid.org/0000-0003-3745-1254)
- Chenggong Zhang (ORCID: https://orcid.org/0000-0003-3688-7427)
- Pu Guo
- Yueliang Gu (ORCID: https://orcid.org/0000-0002-0197-1103)
- Bin Yang
Institutions
- Shanghai University (CN)
- Institute of Advanced Light Source Facilities Shenzhen (CN)
- Shanghai Synchrotron Radiation Facility
Publication Details
- Journal
- Review of Scientific Instruments
- Published
- 2024-12-01
- DOI
- https://doi.org/10.1063/5.0236066
- Primary Topic
- Image and Object Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- National Key Research and Development Program of China
- Basic and Applied Basic Research Foundation of Guangdong Province