Class to deal with QE XML output parsing.
|
__init__(self,
qegz_fn,
struct=False,
band=False,
dos=False,
pdos=False,
esm=False,
neb=False,
tree=None)
Initialize Output object. |
|
|
|
_convertTagToCoords(self,
element,
alat)
Convert text from element having such text:
'float float float'
to list of floats. |
|
|
|
_getVecsFromTree(self,
root)
Parse and set alat (in self.alat), cell vectors (in self.vecs) and
cell volume (in self.volume) in A^3 from XML tree. |
|
|
dict
|
_getMagSpecies(self,
root)
Get a dict with species (element name + a number) as keys and
starting magnetizations as values. |
|
|
structure.Structure
|
|
list of KPoint
|
_getInputKpoints(self,
root)
Return k-points present in the input section of the output schema. |
|
|
list of KPoint
|
|
|
_getBasicInfo(self,
root)
Parse and set attributes several attributes. |
|
|
|
_getBandFromTree(self,
root)
Parse and set the BandStructure object in self.band from XML tree. |
|
|
|
_getPDOS(self,
proj,
wfc_types)
Initialize PDOS object in self.pdos. |
|
|
|
_getDOS(self)
Initialize DOS object in self.dos. |
|
|
(numpy.array, OrderedDict())
|
_parsePDOSProj(self,
proj_fh)
Parse and return data from .prowfc_* file. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|