4d-stem
**4D-STEM (Four-Dimensional Scanning Transmission Electron Microscopy)** is an **advanced electron microscopy technique that records the complete two-dimensional diffraction pattern at every point in a two-dimensional scan** — creating a four-dimensional dataset (2D scan positions × 2D diffraction patterns) that encodes the full scattering information from the sample, enabling post-acquisition extraction of strain maps, electric field maps, phase contrast images, orientation maps, and atomic-resolution chemical information from a single measurement.
**Why 4D vs Conventional STEM**
Standard STEM uses discrete point detectors:
- **HAADF detector**: Large annular detector collects high-angle scattered electrons → atomic number (Z) contrast
- **BF detector**: On-axis detector collects forward-scattered electrons → phase contrast
Both discard the angular distribution information within the diffraction pattern. 4D-STEM captures this full distribution with a pixelated detector (direct electron detector: 256×256 to 4096×4096 pixels), preserving all scattering information for post-processing.
| Measurement Mode | Conventional STEM | 4D-STEM Approach |
|-----------------|-------------------|-----------------|
| **Strain mapping** | Specialized NBED (nanobeam ED) | Diffraction disk position shifts → local strain |
| **Electric fields** | Differential phase contrast (DPC) | Disk center-of-mass shifts → field magnitude |
| **Phase contrast** | Separate ptychography acquisition | Ptychographic reconstruction from diffraction data |
| **Orientation/texture** | Separate EBSD experiment | Pattern indexing at each scan point |
| **Atomic resolution** | Multiple separate acquisitions | Single scan, post-process for each modality |
**Strain Mapping**
In crystalline materials, the positions of diffraction disks shift proportionally to local lattice strain. 4D-STEM strain analysis tracks disk positions across the scan:
Strain ε_xx = (d_measured - d_reference) / d_reference
where d is the spacing between diffraction disk pairs. Achieves sub-0.1% strain sensitivity with ~2 nm spatial resolution — critical for characterizing strained semiconductor channels, ferroelectric domain boundaries, and epitaxial interfaces.
**Electric Field and Charge Mapping**
External or internal electric fields deflect the electron beam, shifting the center of mass of the diffraction disk. 4D-STEM differential phase contrast quantitatively maps:
- Built-in electric fields at p-n junctions
- Ferroelectric polarization domains
- Charge accumulation at grain boundaries
Sensitivity approaching single-electron charge at 10 nm resolution in optimized configurations.
**Ptychographic Phase Contrast**
By treating the 4D dataset as an oversampled coherent measurement, iterative phase retrieval algorithms reconstruct the projected electrostatic potential of the sample with sub-Ångström resolution — surpassing the incoherent HAADF resolution limit and enabling simultaneous imaging of light elements (Li, O) and heavy elements (Pb, Bi) with equal sensitivity.
**Data Challenges and Infrastructure**
A single 4D-STEM acquisition generates:
- 256×256 scan positions × 256×256 diffraction pattern pixels × 16-bit depth = 8 GB per scan
- High-throughput experiments: 100+ GB datasets requiring GPU-accelerated analysis pipelines
Software frameworks: py4DSTEM (Python, open-source), LiberTEM (distributed computing), OVITO (visualization). GPU-accelerated disk detection (template matching) enables processing 4D datasets in minutes rather than hours.
**Applications in Semiconductor Characterization**
4D-STEM has become essential for advanced node characterization:
- Strain profiling in sub-7nm FinFET and GAA (gate-all-around) channels
- Interface roughness quantification at high-k/metal gate boundaries
- Composition mapping in III-V quantum well structures
- Defect analysis in 2D materials (TMDs, graphene) for next-generation channel candidates
The combination of multiple simultaneous measurement modes from a single acquisition — without additional sample preparation or instrument reconfiguration — makes 4D-STEM the most information-dense electron microscopy technique available.