Live simple copy
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing a copy. This script provides a minimal template for processing data in the live view.
Live thresholding with plots
Python - Gatan
Code to process the live-view image in DigitalMicrograph, producing a binary display. The live image is thresholded, and several morphological operations are applied to create a binary display. Then the largest contiguous bright region is found and circled. A plot of the position of the center of mass of that bright region is also updated live.
Get front two images
Python - Gatan
Demonstration of accessing the two frontmost images in GMS.
LiveView radial FFT profile
Python - Gatan
Compute radial-max profiles over time from the FFT of the LiveView image in DigitalMicrograph.
IS dataset radial FFT profile
Python - Gatan
Compute radial-max profiles over time from the FFT of in-situ video datasets in DigitalMicrograph.
DigitalMicrograph drift data - Fit
Python - Gatan
Fit or filter drift-measurement data measured from stacks in DigitalMicrograph.
DigitalMicrograph drift data - Interpolate
Python - Gatan
Interpolate drift-measurement data measured from stacks in DigitalMicrograph.
DigitalMicrograph drift data - Plot
Python - Gatan
Replot drift-measurement data measured from stacks in DigitalMicrograph as a trajectory.
LiveView linear profile
Python - Gatan
Compute ROI-based profiles over time from the LiveView image in DigitalMicrograph.