Text this: Electron diffraction and optical diffraction techniques