The X-ray fluorescence (XRF) analysis with using synchrotron radiation (SR) is a powerful technique for resolving elemental composition of the different samples with high sensitivity and good special resolution.
For precise quantitative analysis, the procedure for robust and reliable processing of the XRF spectra is necessary. Especially, such code is very important for realization scanning mode of the XRF analysis for the operative treatment big spectral data.
As a rule, the specialized codes for conventional XRF systems are not suitable for this aim because of the SR excitation provides a big variety of the analysis modes. Thus, the proposal of the code for processing of the SRXRF spectra is very actual.
The modern program libraries provide a simple ways for organizing robust fitting XRF peaks with keeping a prior data for X-ray lines. In current work the reliable code for estimation of the XRF peaks areas was proposed. Algorithm suitable for calculation net areas of the peaks in the case of series overlapping and in case violation of the mutual intensity ratios of the line in the series due to sample absorption and due to difference in the registration efficiency.
Code was tested in the new beamline for hard XRF analysis was supported by RFBR grant 17-29-05016 офи_м.