Skip to content

arf-berkeley/bruker-xrf-ppm-plot

Repository files navigation

Voila

Binder

License: CC BY-SA 4.0

XRF PPM Biplot and Ternary Plots for Bruker Tracer Application Mode

Use either an interactive App or a live Jupyter notebook to view geochemical data produced by Bruker Elemental XRF instruments*.

* Not affiliated with Bruker Elemental

Features

  • Imports Bruker XRF Results.csv files
  • Parses data using filter widgets
  • Converts weight % to parts per million (PPM) and LOD=0
  • Display the results as a formatted table
  • Provides an interactive biplot and ternary plot with selectable X and Y axes
  • Export cleaned and filtered data to CSV

Usage

Click either the Voila or Binder buttons to launch in your browser then wait about 30 seconds for launch to complete -- no installation required.

Interactive App Only: Voila

Editable Jupyter Notebook: Binder

Offline Use: The notebook can run offline provided that a Python kernel such as Miniconda is available locally, along with the required packages listed below.

Data Format

The notebook expects a Bruker XRF Results.csv file close to the original. Perhaps edit by substituting Application for other Grouping variables if it's redundant with the Method field.

For more information about Bruker XRF instruments see the Bruker XRF Analyzer page.

Requirements

  • pandas
  • numpy
  • plotly
  • ipywidgets
  • nbformat

Credits

Created by N. Tripcevich with assistance from Claude 4.6 Sonnet

About

Jupyter notebook pulls data from results.csv, cleans, and displays in a biplot

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors