triqs_dft_tools.converters.hk.HkConverter
- class triqs_dft_tools.converters.hk.HkConverter(filename, hdf_filename=None, dft_subgrp='dft_input', symmcorr_subgrp='dft_symmcorr_input', repacking=False)[source]
Conversion from general H(k) file to an hdf5 file that can be used as input for the SumKDFT class.
Methods
|
Initialise the class. |
|
Reads the appropriate files and stores the data for the dft_subgrp in the hdf5 archive. |
|
Determine the equivalence of correlated shells. |
|
Returns a generator that yields all numbers in the Fortran file as float, with possible replacements. |
|
Calls the h5repack routine in order to reduce the file size of the hdf5 archive. |