triqs.lattice.super_lattice.TBSuperLattice.fold

TBSuperLattice.fold(D1, remove_internal=False, create_zero=None)[source]

Input: a function r-> f(r) on the tb_lattice given as a dictionnary Output: the function R-> F(R) folded on the superlattice. Only requirement is that f(r)[orbital1, orbital2] is properly defined. Hence f(r) can be a numpy, a GFBloc, etc…