triqs.lattice.utils.TB_from_pythTB

triqs.lattice.utils.TB_from_pythTB(ptb)[source]

convert pythTB model to TBLattice object

Parameters:

ptb (pythtb.tb_model) – pythTB tight-binding object

Returns:

TBL – triqs tight binding object

Return type:

triqs TBLattice object