tbplas.DiagConfig

class tbplas.DiagConfig

Class for representing Diagonalization parameters.

__init__()

Methods

__init__()

load(prefix[, fmt])

Read configuration from file.

save([fmt])

Save configuration to file.

__init__()
load(prefix: str, fmt: str = 'pkl') None

Read configuration from file.

NOTE: Large arrays like k_points and k*_array are not saved and restored.

Parameters:
  • prefix – prefix of config file

  • fmt – format of config file

save(fmt: str = 'pkl') None

Save configuration to file. :param fmt: format of output :return: None

__weakref__

list of weak references to the object