Displaying 31 - 40 of 86

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.

2019

Python - Gatan

Example script basic microscope access. For further info please also refer to the DM-scripting documentation on microscope access.

2019

Python - Gatan

Count the number of negative pixels in the front image.

2019

Python - Gatan

DM images can be created from Numpy arrays. DM image values can be accessed as a Numpy array.

2019

Python - Gatan

Access a single spectrum from a 3D STEM SI in DigitalMicrograph. This script assumes a 3D image is frontmost on the workspace.

2019

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.

2019

Python - Gatan

Output Python commands of DigitalMicrograph. Output command-specific help.

2019

Python - Gatan

Output basic information of the used Python environment.

2019

Python - Gatan

Crop an image to a specified size. Only the data is copied.

2020

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.

2020

Pages