triqs_dft_tools.trans_basis.TransBasis.__init__

TransBasis.__init__(SK=None, hdf_datafile=None)[source]

Initialization of the class. There are two ways to do so:

  • existing SumkLDA class : when you have an existing SumkLDA instance

  • from hdf5 archive : when you want to use data from hdf5 archive

Giving the class instance overrides giving the string for the hdf5 archive.

Parameters:
SKclass SumkLDA, optional

Existing instance of SumkLDA class.

hdf5_datafilestring, optional

Name of hdf5 archive to be used.