aiida_vasp.parsers.content_parsers.eigenval#
The EIGENVAL parser interface.
Module Contents#
Classes#
The parser interface that enables parsing of |
API#
- class aiida_vasp.parsers.content_parsers.eigenval.EigenvalParser(*, handler=None, data=None, settings=None, options=None)[source]#
Bases:
aiida_vasp.parsers.content_parsers.base.BaseFileParserThe parser interface that enables parsing of
EIGENVALcontent.The parser is triggered by using the
eigenval-eigenvaluesand/oreigenval-kpointsquantity key. The quantity keyseigenvaluesandkpointswill on the other hand parse the eigenvalues and/or kpoints using the XML parser.Initialization
- DEFAULT_SETTINGS = None#
- PARSABLE_QUANTITIES = None#
- _init_from_handler(handler)[source]#
Initialize a
parsevaspobject ofEigenvalusing a file like handler.- handlerobject
A file like object that provides the necessary
EIGENVALcontent to be parsed.
- property eigenvalues#
Return the eigenvalue and metadata in the
EIGENVAL.- eigenvaluesdict
A dict containing the keys
eigenvaluesandmetadata, which contain a NumPy array of the eigenvalues and a dict with metadata, respectively.
- property kpoints#
Return the kpoints and metadata in the
EIGENVAL.- kpointsdict
A dict containing the keys
kpointsandmetadata, which contain a NumPy array of the k-points and a dict with metadata, respectively.