Coder Social home page Coder Social logo

vijayeluri / peakaboo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nsherry4/peakaboo

0.0 1.0 0.0 119.16 MB

XRF Visualization Software

Home Page: https://peakaboo.org

License: GNU General Public License v3.0

Java 97.56% Shell 1.26% Ruby 0.30% CSS 0.48% Python 0.27% AppleScript 0.08% Batchfile 0.03% Visual Basic 0.03%

peakaboo's Introduction

Peakaboo Build Status

XRF Visualization Software

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.

Peakaboo

Downloads for Windows, Mac, Linux

Noise Reduction

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

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.

Peak Fitting

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.

Results Mapping

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.

User Extendable

Peakaboo allows users who are comfortable with Java programming to extend Peakaboo in three ways:

  • Filters
  • 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.

Library and Plugins

Peakaboo can also be used as a library. This is also the easiest target to build custom plugins against. Read more about Peakaboo as a library without the GUI.

Building

Peakaboo builds and manages its dependencies with maven. It also has a dependency on xraylib. At the time of writing, xraylib was not available in maven, so a prebuilt version is included in a local maven repository. To build Peakaboo, run mvn package and it will produce a runnable jar file you can invoke with the java -jar <JARNAME> command.

peakaboo's People

Contributors

nsherry4 avatar nathanielsherry avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.