4D-STEM · EDS · electron PDF
Every probe position holds a diffraction pattern. PySTEMLab turns them into maps you can question.
PySTEMLab is an interactive environment for four-dimensional scanning transmission electron microscopy, developed at Ben-Gurion University of the Negev. It takes raw scans with simultaneous HAADF and EDS signals through centring, region selection, classification, nucleus detection and pair-distribution-function analysis, with every step inspected by eye and reproducible by script.
- 14
- linked dashboards, from raw scan to G(r)
- 4
- independent ways to classify a film, compared on one region
- 6
- successive scans of a Ge–Sb–Te film read as a dose series
- 0–30 V
- bias series of a second film, from amorphous to polycrystalline
Workflow
One project, seven steps, the same region throughout
A project holds the scans and their calibration once; every dashboard then works on the same region of interest, so classes, nuclei and PDFs from different methods can be compared probe position by probe position.
- Project managerEMD and MRC scans, detector calibration, EDS cube
- Shift & Maskcentre every pattern, mask the bright-field disc
- Region of interestdraw the analysis window once, used everywhere
- Virtual detectorbright-field, annular and max-intensity images, any pattern on click
- ClassifyI(q) phase mapping, PCA and SimCLR clustering, HAADF–EDS correlation
- Nucleus markerBragg-contrast detection, hand correction, grain segmentation
- PDF explorerAu-calibrated electron G(r) for every class
Tour · recorded in the real software
PySTEMLab at work on a Ge–Sb–Te scan
Each clip is an unedited screen recording of PySTEMLab running on scan 0033 of the dose series (110 × 45 probe positions, 256 × 256 patterns, simultaneous HAADF and EDS). Buttons are pressed, the computation runs, and the results appear. Press play on any clip.
Try it · computed in your browser
A virtual detector on real 4D-STEM data
These are measured data, binned four-fold in each detector direction so they fit in a web page. Move over the map to see the diffraction pattern at each probe position, click to pin it, and drag the rings on the pattern to build your own annular detector. The image on the left is recomputed from thousands of patterns every time you move a ring. This is the same operation PySTEMLab's Virtual Detector dashboard performs on the full-resolution data.
Loading…
Real space
Diffraction
Patterns on a logarithmic scale. The dark centre is the masked bright-field disc. Ring radii in scattering vector q, calibrated on the Au cap.
Live app
Use PySTEMLab itself
The full application runs on our lab workstation and is reachable from the web. It opens on the same Ge–Sb–Te data shown above, so every dashboard in the tour can be tried with its own controls.