First, search here or internet for how to do it, since this has been extensively discussed. Then if you have questions how to apply the specific techniques, ask here for clarification.
if you have a diffraction pattern of the tem is possible ? because I understand that it is easy from the DRX but I seek to know if from a diffraction of tem it is possible. I already know the interplanar distance d and hkl