4D-STEM

Open 4D-STEM scans, look at real space and diffraction space side by side, and compute virtual detector images.


A 4D-STEM acquisition records a full diffraction pattern at every position of a scan: rows × cols scan positions, each with a pattern of height × width pixels. Nexus opens these acquisitions without loading them into memory. It reads one pattern at a time from the file on disk, and streams the file once whenever it computes an image of the whole scan, so even acquisitions of many gigabytes stay responsive.

4D-STEM is included with the Pro and Lab plans. See Plans.

In this section

Page Description
Loading 4D-STEM Data Supported detectors and files, series of scans, and the raw-binary import dialog
The 4D STEM Panel The scan image and the diffraction pattern, navigating the scan, averaging over an area, calibration, the Fourier filter and exporting images
Virtual Detectors Bright-field and annular detectors, centre of mass (CoM), segmented detectors (DPC) and iCoM

Signal types

A 4D-STEM acquisition loads as one signal:

Type Meaning
4D A single scan with no acquisition time
4Dt A single scan whose file records when it was acquired. It sits on the timeline as one span.
4Dts A series of scans of the same shape, one after another in time. You step through it with the timeline.

See Signal Types for how these fit with the other signal types.

Scripting

Python scripts can read 4D-STEM scans too: one pattern, a block of patterns, or the mean over an area, served from the file while the script runs. See 4D-STEM scans in the scripting API reference.


Table of contents