I have XRD pattern of thin film. I have calculated structural properties from the XRD spectra. I have also SEM micrograph of these film. The shape of grain size is hexagonal. Now, I want to calculate the gap between the garin size. Please guide me. Thanks.