Skip to content

arf-berkeley/bruker-xrf-ppm-plot

Repository files navigation

Voila

Binder

License: CC BY-SA 4.0

Bruker XRF PPM Biplot Notebook

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
  • Automatically parses data from the most recent Methods calibration block
  • Converts Methods calibration weight % to parts per million (PPM) and LOD=0
  • Display the results as a formatted table
  • Provides an interactive biplot with selectable X and Y axes
  • Export cleaned 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 with the following characteristics:

  • First column is File #
  • Contains a DateTime column formatted as MM-DD-YYYY HH:MM
  • Element columns in weight percent
  • Below detection limit values marked as < LOD
  • Header rows repeated at the start of each calibration Method block

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

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors