Skip to main content

Data-driven analysis pipeline for STEM-EELS spectra. See project at [https://zhenyuan992.github.io/eelsmapper](https://zhenyuan992.github.io/eelsmapper)

Project description

eelsmapper

Logo of eelsmapper

eelsmapper is a data-driven pipeline for analyzing STEM-EELS spectra to perform high-resolution compositional mapping without relying on reference spectra. It integrates PCA, t-SNE (and/or UMAP), clustering, mutual information, and vector quantization to uncover subtle chemical differences and discover novel material phases. Installable with pip install eelsmapper from pypi.org eelsmapper

Overall schematic of eelsmapper


Purpose

STEM-EELS data is high-dimensional and noisy, making it challenging to interpret with traditional methods. eelsmapper offers a robust, modular pipeline for:

  • Denoising spectra (PCA)
  • Visualizing compositional patterns (t-SNE and/or UMAP)
  • Clustering spectra (K-Means)
  • Identifying correlated elemental regions (Mutual Information)
  • Enhancing signal quality (Vector Quantization)
  • Discovering new material phases without needing reference spectra

Installation:

pip install eelsmapper


Demo:

# assuming you have installed with !pip install eelsmapper
from eelsmapper.pipeline import run_pipeline
import numpy as np

data = np.load("specs.npz")["arr_0"]
data = data.reshape(-1,data.shape[-1])

run_pipeline( data )

Notes:

This package is a python implementation of the following conference papers/talks:

Data-Driven Analysis of STEM-EELS Spectra for High-Resolution Compositional Mapping

PDF found at https://www.scienceopen.com/hosted-document?doi=10.14293/APMC13-2025-0303

Unsupervised Machine Learning for Phase Identification and Characterization of High-Resolution STEM EELS in Novel Battery Materials

PDF found at https://openreview.net/forum?id=dw8DFI2esQ

How to cite:

Yeo ZY, Lai W, Lee JH, Balakrishnan D, Özyilmaz B, Duane Loh N. Data-driven analysis of STEM-EELS spectra for high-resolution compositional mapping. 13th Asia Pacific Microscopy Congress 2025 (APMC13). 2025; 303. doi:10.14293/apmc13-2025-0303


Yeo ZY, Lai W, Lee JH, Balakrishnan D, Özyilmaz B, Duane Loh N. Unsupervised machine learning for phase identification and characterization of high-resolution STEM EELS in novel battery materials. 2025. Available: https://openreview.net/pdf?id=dw8DFI2esQ

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eelsmapper-0.2.4.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eelsmapper-0.2.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file eelsmapper-0.2.4.tar.gz.

File metadata

  • Download URL: eelsmapper-0.2.4.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for eelsmapper-0.2.4.tar.gz
Algorithm Hash digest
SHA256 04f0d0d60b3d876c49b91ba8eaffb20fb1e7ab28eea9609b81e9b4710aa851bb
MD5 5160aa2481fb393d50b58bf52c11d12e
BLAKE2b-256 95d0fe9f427cf26a5fd2659518fc3330e60de3f64c4a268f032d3462b772cca9

See more details on using hashes here.

File details

Details for the file eelsmapper-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: eelsmapper-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for eelsmapper-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1709124c3c1a14d6c7f43f8dfa77b48891bc77f4aeab3dae829537908f7e54e4
MD5 ffba6b9a9b65112cec0809d44613dd54
BLAKE2b-256 470ef1ac2836215e5127854a66fb3322ca189209d56359b1c2f74d6f17d391d4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page