File Exchange

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 (2020). DiffractIndex (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Jacob Bowen

Dear Vishnu,

Thank you also for using. Unfortunately as noted @Pralav I am unable to continue feature development for the foreseable future despite wishing to.

Kind regards

How can I export the raw data in the Diffractogram as a .csv file using this program?

Looking forward for ellipse fitting for automated astigmatism correction. Please let us know when its available. Thanks!

Congli Sun


Unnecessary m file removed from zip file

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