image thumbnail


version (1.54 MB) by Jacob Bowen
DiffractIndex is a simple program for measuring diffraction ring diameters from TEM or XRD patterns


Updated 07 Jan 2016

View License

DiffractIndex (created in Guide) imports tif, jpg, bmp or dm* (Digital Micrograph) files for analysis of diffraction ring diameters in 2D diffraction patterns. DiffractIndex calculates diffraction ring centres and the pattern centre to output ring radii in Å given that pixel size calibration is performed. DiffractIndex can be used to calibrate pixel size by using a known standard diffraction pattern. The program also generates a 1D diffractogram by azimuthally integrating (caking) the diffraction pattern. See the pdf file for full documentation.

Cite As

Jacob Bowen (2021). DiffractIndex (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired by: Circle fit, Read .dm3 and .dm4 image files

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!