The phenomenon whereby electron waves scattered by the regularly spaced atoms of a substance produce diffraction patterns characteristic of that substance.