triqs_dft_tools.trans_basis.TransBasis

class triqs_dft_tools.trans_basis.TransBasis(SK=None, hdf_datafile=None)[source]

Computates rotations into a new basis, using the condition that a given property is diagonal in the new basis.

Methods

calculate_diagonalisation_matrix([...])

Calculates the diagonalisation matrix w, and stores it as member of the class.

rotate_gf(gf_to_rot)

Uses the diagonalisation matrix w to rotate a given GF into the new basis.

write_trans_file(filename)

Writes the new transformation T into a file readable by dmftproj.

Methods

__init__([SK, hdf_datafile])

Initialization of the class.

calculate_diagonalisation_matrix([...])

Calculates the diagonalisation matrix w, and stores it as member of the class.

rotate_gf(gf_to_rot)

Uses the diagonalisation matrix w to rotate a given GF into the new basis.

write_trans_file(filename)

Writes the new transformation T into a file readable by dmftproj.