YamboQPParser

Module that manages the parsing of the ndb.RT_carriers database created by yambo_rt.

class mppi.Parsers.YamboQPParser.YamboQPParser(file, verbose=True)[source]

Bases: object

Class that manages the quasi-particle correction written in the ndb.QP database created by yambo.

Parameters:
  • file (string) – string with the name of the database to be parsed

  • verbose (boolean) – define the amount of information provided on terminal

QP_table

Array …

Type:

np.array

QP_kpts

Array …

Type:

np.array

QP_E

Array …

Type:

np.array

QP_Eo

Array …

Type:

np.array

QP_Z

Array …

Type:

np.array

get_info()[source]

Provide information on the attributes of the class

readDB(verbose)[source]

Read the data from the ndb.RT_carriers database created by yambo_rt. The variables are extracted from the database and stored in the attributes of the object.

Parameters:

verbose (boolean) – define the amount of information provided on terminal