DigitalMicrograph drift data - Plot
Python - Gatan
Replot drift-measurement data measured from stacks in Gatan Microscopy Suite as a trajectory.
DigitalMicrograph drift data - Interpolate
Python - Gatan
Interpolate drift-measurement data measured from stacks in Gatan Microscopy Suite.
DigitalMicrograph drift data - Fit
Python - Gatan
Fit or filter drift-measurement data measured from stacks in Gatan Microscopy Suite.
DigiScan acquisition
Python - Gatan
Example script staring a simple DigiScan acquisition via a parameter set. For more details on DigiScan access via scripting also refer to the DM-scripting documentation.
Crop image center
Python - Gatan
Crop an image to a specified size. Only the data is copied.
Creating DM images and accessing image data
Python - Gatan
DM images can be created from Numpy arrays. DM image values can be accessed as a Numpy array.
Create and show RGB image
Python - Gatan
This script creates 3 images in Python and utilizes a DM-script to create and show a color-overlay image. It is an example of how Hybrid scripts can be used to access functionality not (yet) available in the Python language directly. The script shows how image-labels can be used to address images across the two scripts.
Count negative pixels
Python - Gatan
Count the number of negative pixels in the front image.
Circular mask image
Python - Gatan
Create circularly masked version of the frontmost image.