| Trees | Indices | Help | 
 | 
|---|
|  | 
object --+
         |
        BandStructure
This class is based on the class from pymatgen (MIT license).
| 
 | |||
| 
 | |||
| bool | 
 | ||
| 
 | |||
| dict | 
 | ||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| 
 | |||
| 
 
Initialize BandStructure object.
@type kpoints: list of Kpoint objects
@param: List of k-points for this band structure
@type eigenvals: dict
@param eigenvals: Energies of the band structure in the shape:
{SPIN_UP: numpy.array([iband, jkpoint]),
 SPIN_DW: numpy.array([iband, jkpoint])}
SPIN_DW key can be present or not depending on the calculation type
@type efermi: float
@param efermi: Fermi energy in Hartree
@type struct: L{structure.Structure}
@param struct: Related structure
 | 
| 
 Check if the band structure indicates a metal by looking if the Fermi level crosses a band. 
 | 
| 
 
Return data about the valence band maximum (VBM) or conduction band
minimum (CBM).
@type vbm: bool
@param vbm: If True calculates VBM, if False CBM
@rtype: dict
@return: dict with keys BAND_INDEX_KEY, KPOINT_INDEX_KEY, KPOINT_KEY,
                        ENERGY_KEY
    - BAND_INDEX_KEY: A dict with spin keys pointing to a list of the
    indices of the band containing the VBM (please note that you
    can have several bands sharing the VBM) {SPIN_UP:[],
    SPIN_DW:[]}
    - KPOINT_INDEX_KEY: The list of indices in self.kpoints for the
    kpoint vbm. Please note that there can be several
    kpoint_indices relating to the same kpoint (e.g., Gamma can
    occur at different spots in the band structure line plot)
    - KPOINT_KEY: The kpoint (as a kpoint object)
    - ENERGY_KEY: The energy of the VBM
 | 
| 
 Get band gap data. 
 | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:46 2016 | http://epydoc.sourceforge.net |