Displaying 11 - 20 of 87

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

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

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

DigitalMicrograph - Gatan

This automation script will set the style and size of the scale-bar annotations of all currently shown images.

2020

DigitalMicrograph - Gatan

Example tool to add transparent circle markers with label at clicked-on positions.

2020

DigitalMicrograph - Gatan

This example script monitors a value and plots it in regular intervals, creating a growing LinePlot. The script is a template that can easily be modified to create time-logging of any script-accessible value.

2020

DigitalMicrograph - Gatan

Command example script showing how the ImageImportTextData() command is to be used.

2020

Pages