lattice docstring