Lattice spacings from lattice fringes