aiida_vasp.parsers.content_parsers.doscar#
The DOSCAR parser interface.
Module Contents#
Classes#
The parser interface that enables parsing of |
API#
- class aiida_vasp.parsers.content_parsers.doscar.DoscarParser(*, handler=None, data=None, settings=None, options=None)[source]#
Bases:
aiida_vasp.parsers.content_parsers.base.BaseFileParserThe parser interface that enables parsing of
DOSCARcontent.The parser is triggered by using the
doscar-dosquantity key. The quantity keydoswill on the other hand parse the structure using the XML parser.Initialization
- DEFAULT_SETTINGS = None#
- PARSABLE_QUANTITIES = None#
- _init_from_handler(handler)[source]#
Initialize a
parsevaspobject ofChgcarusing a file like handler.- handlerobject
A file like object that provides the necessary
DOSCARcontent to be parsed.
- property dos#
Return the total and partial density of states, and in addition some metadata.
- dosdict
A dict containing the keys
tdos,pdosandheader, which contain for the two first, NumPy arrays for the total density of states and partial density of states, respectively.