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

 

CHT Diffraction Analysis
Function
Performs circular Hough transform-based automatic measurement of polycrystalline ring diffraction patterns.
Version
version:20180630, v3.2
Author
D. R. G. Mitchell
Acknowledgements
Dr Bernhard Schaffer is thanked for provision of a pixel sorting routine which was incorporated into the dll which accompanies the script. Shixin Wang, Pavel Potapov and Bernhard Schaffer are thanked for assistance in developing the interactive sub-dialog..
Comments

This script was described in this article.

System Requirements
This software has been updated to resolve compatibility issues with GMS 3.22. It has been tested in GMS 2 and 3. It will probably be compatible with GMS 1, but has not been explicitly tested.
Known Issues

GMS 3.22 introduced some new issues due to unhandled exceptions and changes in the way that dialog windows were accessed, relative to GMS 3.0. This resulted in the script simply stopping part way through the analysis, without any errors or alerts. Existing users of this script using GMS 3.x should download the package and simply uninstall the old script and then install this new one. The dll and preferences have not been changed, and so no other changes are required. Existing GMS 2 users need not make any changes.

This script needs a dll installed. The main script is compatible with all GMS variants. However, version-specific plugins are provided in the package and detailed installation and operation instructions are provided.

Supported
Yes
Included Files
Main script, dll file, test images and instructions as a zip archive.
Source Code

Provided in the zip archive.