“How to script…” – Digital Micrograph Scripting handbook
Introduction:
Digital Micrograph is an image processing and acquisition software by Gatan Inc. primarily but not exclusively used in connection with Electron Microscopy. The software features a simplified programming language commonly referred to as DM scripting. Over the recent years I have been compiling task oriented tutorials on the use of DM scripting into a type of scripting handbook. This work is still in progress and there is currently no finished book available. However, until the final version is completed, I am making the current version of the handbook available as free E-book on request. Some examples can also be downloaded directly from this homepage.
Preview
- Table of Content & Command Index
- How to start (scripts)
- How to import and export data in binary format (scripts)
- How to read and write text files (scripts)
- How to use intrinsic variables (icol, irow and other i’s) (scripts)
About the Author
Bernhard Schaffer has been working in the field of Transmission Electron Microscopy (TEM) since 2001. He finished his PhD in technical physics at the Technical University Graz (FELMI/ZfE institute) in 2006 and stayed on as a post-doc until 2008. During this period he developed EFTEM spectrum-imaging techniques and founded and maintained the DigitalMicrgraph scripting-database which is still hosted by FELMI. In summer 2008 he became a research assistant at the SuperSTEM facility in Daresbury/UK and focused his research on aberration corrected STEM and atomic resolution STEM EELS spectrum-imaging. In this period he developed a distributed dose STEM technique. In autumn 2011 he joined Gatan Inc. as application software developer.
Request a (free) copy of the book or get in contact
If you would like to get a free copy of the current book (PDF version), please email me with some of your details (Name, work place, field of work).
Other DM script plugins from the Author
- B TOOLS #1 (v2015-03-10) – documentation(PDF)
- B FUN #1 (v2014-01-19) – documentation(PDF)
- Ring Marker – documentation (PDF)
- Custom ROI zoom – documentation (PDF)
- Microscope Stage Tracker – documentation (PDF)
- QuickSave tool – documentation (PDF) / email to request plugin (for free)
- SDSD drift correction – documentation (PDF) / email to request plugin (for free)
- StackBuilder (on image update) – documentation (PDF) / email to request plugin (for free)
- DigiScan Stack Acquisition – documentation (PDF) / email to request plugin (for free)
Other DM plugin libraries from the Author
- ITK2DM wrapper( v0.1 2014-11-17 ) – documentation(PDF)
( This GMS 2.3.1. 64bit dll provides script commands to functionality of the ITK library )
Further DM Scripting related links
- FELMI/ZFE‘s Script Database
- StackOverflow.com (Ask general script coding questions there using [DM-script] tag.)
- Gatan‘s Scripting resources homepage
- Gatan‘s free DigitalMicrograph (offline) download (both 32bit/64bit, you have to fill in a form but the software is free)
- Dave Mitchell‘s DigitalMicrograph™ Scripting Website
- temDM – plugins for DigitalMicrograph™
- Gatan‘s outdated script-documentantion reference (For newer GMS releases, see application help (F1) )
Script workshops & courses
- Scripting courses and workshops are regularily held be Gatan.
Please visit Gatan’s training webpage for upcoming events. - If you would like to organize a scripting workshop yourself, or if you have a particular suggestion for a course, please contact me at the email above.
- I am also available for consulting or one-to-one (remote) teaching on request.