Scripting Resources for DigitalMicrograph™

banner

Dave Mitchell's DigitalMicrograph™ Scripting Website

Home | Scripts | Examples | Functions | Recent Updates | Tutorials | Resources | Publications | Consulting | Projects | Contact & Bio |PyJEM| Search

 

High Precision Line Length Measurement
Function
Reports the length of the selected line to four decimal place precision.
Version
version:20170111, v1.0
Author
D. R. G. Mitchell
Acknowledgements
-
Comments
In some versions of GMS 2 the Control panel reads out the selected line length to one decimal place only - most likely this is a bug. In normal operation this read out is to three decimal place precision. This script reads out the length of the selected line to four decimal place precision.
System Requirements
Should be compatible with all recent versions of DigitalMicrograph.
Known Issues
-
Supported
Yes
Included Files
Main script file.
Source Code

// See attached script