Basic DOS class, based on the class from pymatgen (MIT license).
|
|
__init__(self,
band,
dos_fn)
Initialize DOS object. |
|
|
|
|
_getDOSFromFile(self,
dos_fn)
Read energies and densities from a .dos file and sets:
self.energies_ev and self.dos |
|
|
|
|
getDOS(self,
degauss,
delta_e=0.01)
Broaden energies and set DOS in self.dos. |
|
|
numpy.array
|
getDensities(self,
spin=None)
Get density of states for a particular spin. |
|
|
|
float, float
|
getCbmVbm(self,
tol=0.001,
abs_tol=False,
spin=None)
Get Conduction Band Minimum (cbm) and Valence Band Maximum (vbm). |
|
|
|
float
|
getGap(self,
tol=0.001,
abs_tol=False,
spin=None)
Get the gap. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|