There are many softwares for calculating d-space from TEM SAED pattern. if there is any free software that has all the features like the crystal structure database CSD will be great.
A software called Carine crystallography software would be helpful for this purpose. It provides information regarding d-spacing values and diffraction patterns. Carine also provides information regarding correspondence of plane to a specific d-spacing for each particular crystal. But I am not sure about its free or trial availability.
Furthermore, you can use DigitalMicrograph Software but you will have to add script from Dave Mitchell's DigitalMicrograph™ Scripting Website ( http://www.dmscripting.com/difftools.html ). Hoping that it would be helpful for you.
You can use SingleCrystal http://www.crystalmaker.com/singlecrystal/index.html, DiffraCalc (beta, I can share it for you, Article Development of the DIFFRACALC program for analyzing the phas...