create_fake_diffraction_data#

TiltGrains.create_fake_diffraction_data(kx_pixels=512, ky_pixels=512, rotation=0, radius=None, intensity=10, dtype=<class 'numpy.int16'>)#

Fake data is created from 4 diffraction patterns which are seperated into Grains. This means that we only have to calculate the virtual image from each of the 4 diffraction patterns and then we can “Create” any of the virtual images that we want!