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

 

Extract an Intensity Profile from Image Centre to Corner
Function
Function extracts an intensity profile from the geometric centre of an image to the top right corner.
Version
version:20220311, v1.0
Author
D. R. G. Mitchell
Acknowledgements

-

Comments

Creates an intensity profile from the centre to the corner. The integration width can be varied.

 

System Requirements
Tested on GMS 2.32, but should work on all versions of GMS.
Known Issues
Larger integration widths produce better signal to noise ratio, but may smear circular features such as diffraction rings. Since the funciton uses the geometric centre of the image, any circular features, such as diffraction patterns, will need to be centred on the geometric centre first.
Supported
Yes.
Included Files
Main script.
Source Code

see attached script