User guide
Reference
full name: tenpy.models.lattice.get_lattice
parent module: tenpy.models.lattice
tenpy.models.lattice
type: function
tenpy.models.lattice.
get_lattice
Given the name of a Lattice class, get the lattice class itself.
Lattice
lattice_name (str) – Name of a Lattice class defined in the module lattice, for example "Chain", "Square", "Honeycomb", ....
lattice
"Chain", "Square", "Honeycomb", ...
LatticeClass – The lattice class (type, not instance) specified by lattice_name.