HRTEM maximum spot mapping
Python - Gatan
Produce a colorful map of crystalline regions from a high-resolution image in DigitalMicrograph using localized FFT analysis. The script scans with configurable spacing and FFT size, masks low frequencies, and maps the angle of the maximum lattice-spot to color. It also displays the intermediate 4D-STEM-like data cube and draws a color-wheel legend. While the result looks like an orientation map, it does not perform proper orientation mapping.
Get front two images
Python - Gatan
Demonstration of accessing the two frontmost images in GMS.
Find image by ID
Python - Gatan
Example use of FindImage by ID. This script gets the chronologically last image. It works because image IDs are incremented whenever new memory is allocated.
Extracting a spectrum
Python - Gatan
Access a single spectrum from a 3D STEM SI in DigitalMicrograph. This script assumes a 3D image is frontmost on the workspace.
DigitalMicrograph drift data - Plot
Python - Gatan
Replot drift-measurement data measured from stacks in DigitalMicrograph as a trajectory.
DigitalMicrograph drift data - Interpolate
Python - Gatan
Interpolate drift-measurement data measured from stacks in DigitalMicrograph.
DigitalMicrograph drift data - Fit
Python - Gatan
Fit or filter drift-measurement data measured from stacks in DigitalMicrograph.