aiida_vasp.parsers.content_parsers.eigenval#
The EIGENVAL parser interface.
Contains the parsing interfaces to parsevasp used to parse EIGENVAL content.
Module Contents#
Classes#
The parser interface that enables parsing of |
API#
- class aiida_vasp.parsers.content_parsers.eigenval.EigenvalParser(*, handler: TextIO | BinaryIO | None = None, data: aiida.orm.Data | None = None, settings: dict[str, Any] | None = None, options: dict[str, Any] | None = None, raise_errors: bool = False)[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: TextIO) None[source]#
Initialize a
parsevaspobject ofEigenvalusing a file like handler.- Parameters:
handler (file-like object) – A file like object that provides the necessary
EIGENVALcontent to be parsed.
- property eigenvalues#
Return the eigenvalue and metadata in the
EIGENVAL.- Returns:
A dict containing the keys
eigenvaluesandmetadata, which contain a NumPy array of the eigenvalues and a dict with metadata, respectively.- Return type: