Live noise reduction
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing a new filtered display. A median and/or Gaussian blur can be applied.
Live max FFT
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing an FFT-like display. A grid of small FFTs is computed from the image, and then rather than averaging the FFTs together, the maximum across all FFTs is taken pixel-by-pixel.
Live FFT color map
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing a series of maps of crystalline regions in real-time. It computes a grid of small FFTs from each image. It then treats this grid similar to a 4D STEM data cube, where it finds the brightest spot in each FFT and displays its orientation and intensity as an updating color map.
Live difference
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing a difference image. Two exponentially weighted moving averages are computed, and the absolute value of the difference between them is returned.
IS dataset radial FFT profile
Python - Gatan
Compute radial-max profiles over time from the FFT of in-situ video datasets in Gatan Microscopy Suite.
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.