Displaying 1 - 10 of 81

DigitalMicrograph - Gatan

Script to measure and display the total dose rate (in millions of electrons per second) on the camera. Run this script with the live view frontmost in DigitalMicrograph and press the Spacebar key to stop it.

2023

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.

2022

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.

2022

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.

2022

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.

2022

Python - Gatan

Code to compute radial-max profiles of the FFT of a live-view image in DigitalMicrograph, producing a 2D display of these profiles over time.

2022

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.

2022

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.

2022

DigitalMicrograph - Gatan

Command example showing how scale-bar and intensity-bar annotations are created on an image.

2020

DigitalMicrograph - Gatan

Command example showing how ImageDocument layouts are set.

2020

Pages