compute diffraction pattern for predicted structures