Joint ICTP-IAEA School on Novel Experimental Methodologies for Synchrotron Radiation Applications in Nano-science and Environmental Monitoring Tutorial on XRF Data Analysis Piet Van Espen piet.vanespen@uantwerpen.be 21 Nov 2014 1
X-ray fluorescence spectrum analysis From Axil over WinAxil to baxil 2
In the beginning: 1974-1978 Ph.D. at University of Antwerp, Belgium The task: make a program to determine the net peak area in XRF spectra The tools: Computer: PDP-11/45 Memory: 64 kbyte memory Disk: 4 MByte OS: RT11 Input: Punch cards, paper tape Programming: Fortran IV and assembler 3
4
5
1977 First publication First time mentioning a computer program called AXIL AXIL = Analysis of X-ray spectra by Iterative least Squares 6
1980 First (commercial) Axil version in FORTRAN Running on PDP-11 computers Distributed by Canberra-Positronika, Belgium 1981 Canberra USA: Canberra S228 RT/AXIL X-ray Analysis Software 1982 IAEA got interested in AXIL 7
1984 IBM-PC version development started with the help of Canberra-Positronika, Belgium 8
1987 IAEA contract for PC version (J. Dolnicar) 1989 AXIL Version 3.0 release OS: DOS FORTRAN and C Axil-QXAS package IAEA With contributions from Koen Janssens Vicente Osorio, Gabriel Bernasconi... (IAEA) 9
Hint: Many samples will be prepared as pressed pellets where a binder has to be added. I.e.: the sample will be diluted. All reported concentration values would have group. to be corrected When this with symbol the dilution is omitted factor. the K-series peaks in this particular group will be given Gaussian profiles. When the symbol & is added the K-series peaks will be approximated with Voigt functions. The Voigt profiles are only allowed for groups containing K-series X- ray lines. In addition, it is also assumed that one would have already selected a library file containing K-series of heavy elements or that the current library file has been modified as needed. However, with the availability of newly published experimental and theoretical data, the program can be easily adapted to assign the Voigt shape also to other groups of peaks. An example of the operator input specifying the lead K-α and K-β groups to be included in the model as Voigt profiles is shown in the picture below (demonstration spectrum PBSIM.spe). 3. Description of the main MENU All files either generated with AXIL, or with any of the quantitative METHODs, will be stored in the default directory C:\AXIL\SPECT. In order not to end in a mess, one either can straighten up this directory from time to time by transferring files to other directories or diskettes. Or one can select an appropriate path for each session with QXAS in the very first FORM (QXAS) to appear. The ITEM Select directory can be edited as required (default C:\AXIL\SPECT). Consequently all files can be redirected to an (already existing!) directory. Warning: Also files needed as input data After for certain the fitting programs procedure will be is traced finished there the by operator can examine the results by selecting the default. The ITEM Search in directory main preceding MENU the option SELECTOR REPORT BOXes then must FULL. be The results reported under this MENU show also edited accordingly. Problems will be indicated which with of the an error groups message: of peaks were fitted using the Voigt peak profiles. This is indicated by the symbol & next to the group name in the listing: No files (*.xxx) found; The operator can assure his choice by examining the screen listing of all the groups The main already MENU included of QXAS in the Axil fitting X-ray model Analysis by issuing Package a command consists of SHOW ITEMs under that contain the menu X- various LINES. conversion If a routines given line (Spectrum was appointed format to conversion) have Voigt to profile, bring certain an appropriate binary formatted comment is spectra placed to the next ASCII to this format line: as expected by AXIL (Spectrum fitting), which will calculate net peak areas from the spectra. Under Quantitative analysis among several programs the user will have to select a suited METHOD in order to calculate the desired concentration values or perform a calibration. Utilities contain several programs, which can be helpful but are not directly needed for the above listed tasks. 11 Also altered has been the structure of the model files (files with extension *.INP). The changes were introduced in such a way that the model file remains backward compatible with the previous versions of AXIL. When the operator introduces some groups of lines, using 10 Voigt profiles, this information is stored in the model file. However, the part of it concerning
1996 WinAxil OS: MS-Windows (Windows-95, Windows-XP,...) Fitting engine: C-Library (DLL) User Interface: C++, Microsoft Foundation Classes With contributions from: Boris Treiger Igor Bondarenko Vicente Osorio Distributed by Canberra Responsible: Vicente Osorio 11
12
IAEA WinQXAS Written mainly in Fortran for MS Windows OS 13
14
Fitting engine also used in: Panalytical MiniPal Panalytical Epsilon 5 AVAATECH XRF core scanner 15
PyMCA (ESRF) uses a very similar fitting engine based on the AXIL code V.A. Solé - European Synchrotron Radiation Facility Multiplatform Started off as spectrum fitting Now very large system Quantitative analysis Batch processing Data visualisation multi-platform Windows, Linux, Mac! Using python 16 Slide: 5
Now baxil OS: Windows, Linux, Mac User Interface: C++ using Qt development environment Engines: ANSI C++ http://www.brightspec.be/ Smart Devices, Professional Solutions. With contributions from: Yamiel Abreu Ibrahin Piñera Vicente Osorio Search Home About us Products Downloads Forums Contact us Distributed by BRIGHTSPEC A spin-off of the University of Antwerp See: http://www.brightspec.be/ Topaz-Pico BNC 17 The TOPAZ-Pico BNC is a special version of the compact Topaz-Pico Multi-Channel Analyzer, where the
GUI Main menu Toolbar commands buttons Spectrum plot residuals plot from spectrum fit Model docked window report window 18
using steps and tails 19
fitting of coherent and incoherent scatter peaks 20
Fitting of image and line scan data 21
Common aspects Spectrum evaluation You have to build a model - Determine which part of the spectrum to fit (ROI) - Which elements, which peak-groups i.e. decide to fit Ka-Kb separately of not - Find a background model filter background: easy, physically not realistic not compatible with peak shape Quantitative analysis Fundamental parameter: specify excitation and detection conditions accurately Empirical methodes: extensive calibration with standards Allow for batch processing Read and write various spectrum file formats 22