Four-dimensional scanning transmission electron microscopy (4D-STEM) enables mapping of diffraction information with nanometer-scale spatial resolution, offering detailed insight into local structure, orientation, and strain. However, as data dimensionality and sampling density increase, particularly for in situ scanning diffraction experiments (5D-STEM), robust segmentation of structurally consistent behavior across sequential measurements becomes essential for efficient and physically meaningful analysis. Here, we introduce a clustering framework that identifies crystallographically distinct domains from 4D-STEM datasets. By using local diffraction-pattern similarity as a metric, the method extracts closed contours delineating spatially contiguous regions. This approach produces cluster-averaged diffraction patterns that improve signal quality while reducing data volume by orders of magnitude, enabling rapid and accurate orientation, phase, and strain mapping. We demonstrate the applicability of this approach to in situ liquid-cell 4D-STEM data of gold nanoparticle growth. Our method provides a scalable and generalizable route for spatially coherent segmentation, data compression, and quantitative structure-strain mapping across diverse 4D-STEM modalities. The full analysis code and example workflows are publicly available to support reproducibility and reuse.
Fast Grain Mapping with Sub-Nanometer Resolution Using 4D-STEM with Grain Classification by Principal Component Analysis and Non-Negative Matrix Factorization
Free, flexible and fast: orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the python-based open source 4D-STEM analysis toolbox Pyxem
Unsupervised Machine-Learning Pipeline for Data-Driven Defect Detection and Characterisation: Application to Displacement Cascades
Univ. Lille, CNRS, INRAE, Centrale Lille, UMR 8207 - UMET - Unité Matériaux et Transformations(里尔大学,国家科学研究中心,法国国家农业研究科学与技术研究院,里尔中央理工大学,UMET单位);EM2VM, Joint laboratory Study and Modelling of the Microstructure for Ageing of Materials(EM2VM联合实验室,微结构老化材料研究与建模联合实验室);Univ. Lille, CNRS, UMR 8523 – PhLAM – Physique des Lasers Atomes et Molécules(里尔大学,国家科学研究中心,PhLAM单位)
In Situ Nanometer-Resolution Strain and Orientation Mapping for Gas-Solid Reactions via Precession-Assisted Four-dimensional Scanning Transmission Electron Microscopy
From structure mining to unsupervised exploration of atomic octahedral networks
Department of Engineering, University of Cambridge(剑桥大学工程系);Department of Chemical and Biological Engineering, University of Colorado Boulder(科罗拉多大学波尔得分校化学与生物工程系);The Institute of Chemistry, Casali Center for Applied Chemistry, and the Center for Nanoscience and Nanotechnology, The Hebrew University of Jerusalem(耶路撒冷希伯来大学化学系、应用化学Casali中心和纳米科学与技术中心);Department of Chemistry and Biochemistry, University of South Carolina(南卡罗来纳大学化学与生物化学系)