triqs_dft_tools.converters.plovasp.inpconf.ConfigParameters.parse_string_dosmesh

ConfigParameters.parse_string_dosmesh(par_str)[source]

Two formats are accepted:

  1. Two floats (energy range) and an integer (number of energy points).

  2. One integer (number of energy points). In this case the energy range is taken to be equal to EMIN, EMAX of a shell.

The parser returns a dictionary:
{‘n_points’: int,

‘emin’: float, ‘emax’: float}

If the second option is used, ‘emin’ and ‘emax’ are undefined and set to ‘nan’.