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
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
Metadata
Release files for eelsmapper 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eelsmapper-0.2.5.tar.gz | 5.6 kB | Without provenance | Details for eelsmapper-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eelsmapper-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for eelsmapper-0.2.5-py3-none-any.whl |
Total release size: 11.6 kB
Release files / eelsmapper-0.2.5.tar.gz
| Download URL | eelsmapper-0.2.5.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
16e0842e114325facac0f8d007ac17c3e3871c93119c77bda7d2149dde62b886
|
|
BLAKE2b-256 checksum How to use checksums |
7f34f23054c8faa05b7002242cf33f19bbf13846719bfcf1cad21b6f4e42a542
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / eelsmapper-0.2.5-py3-none-any.whl
| Download URL | eelsmapper-0.2.5-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1be550c281bf222faa4fc77e2c31e2d3bfb0af123d3ca8adbae5034ae290797f
|
|
BLAKE2b-256 checksum How to use checksums |
aac6ebde7855f0fedfc4e6ba75a84d6af2f64e3334506b62dc766145fa3ab324
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Security for eelsmapper 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.