Diffraction imaging of polycrystalline materials