Peakaboo XRF Analysis Tool
Peakaboo allows users to identify the spectral origins of the XRF spectrum using a technique that fits all components of the K, L, or M spectrum including escape peaks and pileup peaks, and then plots their spatial intensity distributions as maps.
Noise reduction is essential since the spectra are taken at very brief intervals while the sample is scanned in the X-Ray beam. The software provides a number of mathematical filters that are used in noise reduction or in background attenuation or removal. Noise filters include moving average, fast Fourier transform (FFT) low pass, Savitsky-Golay, and others.
Where applicable, noise removal filter parameters can be adjusted to suit the data in question. Best noise reduction with minimum change in peak shape is often achieved using a Savitsky-Golay filter.
Background removal or reduction is particularly important for spectra acquired using white radiation. Peakaboo has a number of background removal filters of varying sophistication and performance. Varying levels of background can be removed.
The spectra produced are fitted with several K, L, or M lines for each element. The line positions and relative intensities for each line series were taken from several tabulated sources, including Xraylib. For fitting of the spectral peaks, a Pseudo-Voigt function is used. Thus, the identification of a particular element requires a close fit of multiple lines in the spectrum, each with its own shape.
Once peak fitting has occured, one or two dimentional data sets can be mapped to show the distribution of the selected elements. Peakaboo can show individual elements, composites of several elements, ratios of sets of elements, or overlays of up to four sets of elements.
Peakaboo allows users who are comfortable with Java programming to extend Peakaboo in three ways:
- Data Sources
- Data Sinks
To get started creating your own filters or file format support, all you need is the Peakaboo JAR to build against. For more information on creating plugins, see the user manual.
Peakaboo has been optimized to be able to read a large number of differnet file formats as quickly as possible. It has also been designed to run with constrained resources.
Recommended System Specs
In order for Peakaboo to run well, it should be run on computers which meet the following criteria:
- 1 gigabyte of memory
- 1280x800 screen resolution
- 2 gigabyte of free disk space (for temporary work files)
Mininum System Requirements
Memory space is the only real limiting factor for Peakaboo. It needs to have at least 256 megabytes (0.25 gigabytes) allocated to its JVM in order to work well with larger data sets. Peakaboo can run just about anywhere, though. Here's a screenshot of Peakaboo running on a Raspberry Pi 2!