spectral interpretation using gaussian mixtures and autoencoder
Project description
Description
Spectral Interpretation using Gaussian Mixtures and Autoencoder (SIGMA) is an open-source Python library for phase identification and spectrum analysis for energy dispersive x-ray spectroscopy (EDS) datasets. The library mainly builds on the Hyperspy, Pytorch, and Scikit-learn.
Test your dataset on SIGMA with Colab:
Installation
- Create a Python>=3.7.0 environment with conda:
conda create -n sigma python=3.7 anaconda
conda activate sigma
- Install SIGMA with pip:
pip install emsigma
- Use the notebook in the tutorial folder to run SIGMA.
Workflow of SIGMA
- A neural network autoencoder is trained to learn good representations of elemental pixels in the 2D latent space.
- The trained encoder is then used to transform high-dimensional elemental pixels into low-dimensional representations, followed by clustering using Gaussian mixture modeling (GMM) in the informative latent space.
- Non-negative matrix factorization (NMF) is applied to unmix the single-phase spectra for all clusters.
In such a way, the algorithm not only identifies the locations of all unknown phases but also isolates the background-subtracted EDS spectra of individual phases.
User-friendly GUI
Check .bcf file
An example of checking the EDS dataset and the sum spectrum.
Demo with Colab
Dimensionality reduction and clustering
An example of analysing the latent space using the graphical widget.
Demo with Colab
Factor analysis on cluster-wise spectra
A demo of acquiring Background-substracted spectrum using Factor Analysis (FA).
Demo with Colab
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file emsigma-0.1.25.tar.gz
.
File metadata
- Download URL: emsigma-0.1.25.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c491b611f9a935718e762ea38a92ec6e3f1c6ca3a231b072abf346ee974a5ef1 |
|
MD5 | e3395adf1b8c715e88f7f9f31f374304 |
|
BLAKE2b-256 | 725b5077520b83cbd2612fdfd43a3db5c0a00823411e9a11421bf132e1e0af7e |
File details
Details for the file emsigma-0.1.25-py3-none-any.whl
.
File metadata
- Download URL: emsigma-0.1.25-py3-none-any.whl
- Upload date:
- Size: 42.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8998f9f3a7ee5844908b95e8ec0123238bfcf5effa5b2b53f4905eb976e4f51f |
|
MD5 | c151aaeac4d5461594f590224aa5271b |
|
BLAKE2b-256 | f40ff442d437f46ebaa1935ed16910abab2817d9e39b3b74e8856c655686ddf0 |