Gatan | AMETEKSkip to Main Content
No options found
DigitalMicrograph and Python Scripts

Scripts

Download automation and analysis scripts to streamline your workflows.

Enhance your workflow with Gatan scripting solutions

Gatan offers powerful scripting capabilities that empower researchers, engineers, and microscopists to customize, automate, and extend the functionality of their electron microscopy workflows. Whether you're working within the DigitalMicrograph environment or prefer the flexibility of Python, our scripting tools help you unlock new levels of productivity and precision. 

Why use scripts

Streamline repetitive tasks and reduce manual effort

Streamline repetitive tasks and reduce manual effort

Tailor your microscopy workflows to meet specific research needs

Tailor your microscopy workflows to meet specific research needs

Seamlessly connect with other software tools and data pipelines

Seamlessly connect with other software tools and data pipelines

Save time and improve consistency in data acquisition and analysis

Save time and improve consistency in data acquisition and analysis

DigitalMicrograph scripts

DigitalMicrograph scripting allows users to directly interact with Gatan’s software environment, enabling real-time control of hardware, image processing, and data analysis. 

 

  • Built-in scripting editor
  • Access to microscope controls and image data
  • Ideal for users familiar with the DigitalMicrograph interface 

 

Python scripting offers a flexible, open-source approach to working with Gatan data and instruments. Perfect for users who want to integrate Gatan tools into broader scientific workflows. 

 

  • Leverage powerful Python libraries (NumPy, SciPy, Matplotlib, etc.)
  • Ideal for advanced data analysis and machine learning applications
  • Compatible with DigitalMicrograph software 

 

Use cases

DigitalMicrograph and Python scripting allow you to write small programs (scripts) that automate tasks or extend functionality within the existing software environment. These scripts are ideal for customizing workflows, enhancing productivity, and integrating with other tools in a lightweight and flexible way.

Please note that this is distinctly different from software development kits (SDKs), which are used to design, build, test, and maintain full-scale applications or systems. SDKs provide a broader set of tools for creating standalone software, whereas scripting focuses on enhancing and automating within an existing platform.

 

Feature

Scripting

SDK-based development

Scope

Task-specific automation 

Full applications

Language

DigitalMicrograph Script, Python

C++

Execution

Interpreted

Compiled

Integration

Uses functions in the DigitalMicrograph scripting API

Easy use of external libraries

Use case

Prototyping experiment or analysis, automating small workflows

Large scale packages, acquisition or analysis

Prefer SDK?

Connect to our software development kit (SDK) page to learn more.

 

 

What's new in software - Discover recent updates and new features for current software versions

What's New in Software

Discover recent updates and new features for current software versions

Software, Firmware and License Downloads

Downloads

Access the latest versions of application software, firmware, and license tools

EELS.info

EELS.info

Discover the EELS technique family—from step-by-step experiment guides to an interactive Atlas with downloadable spectra

EM Academy

EM Academy

Gain real-world experience through self-paced courses to elevate your electron microscopy research

Issue and Bug Reporting - Submit software issues or bugs directly to the development team for review

Issue and Bug Reporting

Submit software issues or bugs directly to the development team for review

Cathodoluminescence (CL)

What is CL?

Enhance your cathodoluminescence journey—from experiment guides to deeper application insights

Acknowledgment for header image: Wenfeng Yang, Tieqiao Zhang, and Rong Yu from
Tsinghua University.