A python module for segmentation of STEM images

pip install pystem==0.0.26


Automatic segmentation of STEM images

Automatic segmentation of Scanning Transmission Electron Microscope (STEM) images with unsupervised machine learning

Learning more

If you want to learn more about this project, you may read our manuscript that is not yet completely finished, or our presentation for BiGmax workshop 2020.

Try it now: Binder

Getting Started


python 3, numpy, scipy, scikit-learn, fftw3


via conda, the simplest way, highly recommended

conda install -c conda-forge pystem

via pip

1. First make sure that FFTW3 library is installed 
2. pip install pystem

via source code

1. First make sure that FFTW3 library is installed 
then type commands:
git clone https://github.com/NingWang1990/pySTEM.git
cd pySTEM
python setup.py build
python setup.py install --user

How to use

Examples can be found in the examples folder Give it a try right now by simply clicking the 'launch binder' button