Text this: Defect and Microstructure Analysis by Diffraction