A repository of functions for working with SEM-EDS data, with an emphasis on identifying mineral particles.
Click here to access the full release notes.
Brief Summary
-
See the updated Documentation (
/main/docs/). -
Replacing
v1.5.2and includes significant changes to the repository structure. -
New main functions (
/main/src/):Spectrum: A custom MATLAB class for EDS x-ray spectra visualization (replacesxray_plot).msa_classification: A new method for mineral classification that allows you to process spectral data files (.msa / .emsa) directly.eds_read: A custom MATLAB class for reading spectral data files (replacingmsa_read).stoich_quant&standard_stoich_quant: Provide methods for standardless quantification and standard quantification of mineral stoichiometries.
-
New utility functions (
/main/utils/). These functions are designed to work as part of the backend of the new function classes. The main repository functions are written so that the user does not have to learn the utility functions individually, but each function contains its own internal documentation just in case.
Depreciated Functions
-
add_xray_plot -
clear_xray_labels -
convergence_angle -
read_msa -
sem_pixel_size -
xray_peak_label -
xray_plot
Previous Updates
-
v1.5introduced an improved version of the supervised machine learning mineral classification model (weber_classification.m). For details on how the new model was trained, see the contents of themachine_learning_modelsfolder. The training description provided in/Paper/supplement.mdis no longer accurate. -
For the convenience of Julia users, all Julia files have been migrated to https://github.com/weber1158/eds-classification.jl.
See the online Documentation for details on each of the algorithms.
You can download the repository from the MATLAB Central File Exchange , or open it directly in your browser
(recommended).
To add the EDS Classification functions to the default search path:
-
Un-zip the downloaded folder.
-
Execute the following command in the MATLAB Command Window:
pathtool-
A popup menu should open. Click
Add Folder with Subfoldersand select the un-zipped main repository folder. -
Finalize your chce by clicking
SaveorApply.
This repository has been peer-reviewed and published in Journal of Open Source Software. Please use the information below for citing the software:
Weber, Austin M., (2025). Algorithms for SEM-EDS mineral dust classification. Journal of Open Source Software, 10(107), 7533, https://doi.org/10.21105/joss.07533
@article{weber2025,
author = {Weber, Austin M.},
title = {Algorithms for {SEM-EDS} mineral dust classification},
journal = {Journal of Open Source Software},
volume = {10},
number = {107},
pages = {7533},
year = {2025},
DOI = {10.21105/joss.07533}
}