Calculate Diffraction Intensity Ratio