EPWpy.QE.PW_util#
Functions
|
Returns bandstructure obtained from bands calculation |
|
Finds fermi level |
|
Finds fermi level |
|
Finds total energy |
|
|
|
|
|
Returns atomic positions and species |
|
Returns total number of bands in energy_range provided |
|
Returns cell parameters |
|
Reads the SCF file |
Classes
|
Encapsulates properties extracted from a Quantum ESPRESSO PW (Plane-Wave) calculation. |
- class EPWpy.QE.PW_util.PWProperties(file, energy_range=None)[source]#
Bases:
objectEncapsulates properties extracted from a Quantum ESPRESSO PW (Plane-Wave) calculation.
This class provides access to key ground-state properties such as the band structure, Fermi level, atomic positions, and lattice vectors.
- file#
Path to the PW output file (typically SCF or NSCF).
- Type:
str
- energy_range#
Energy range (in eV) for which to select bands for analysis.
- Type:
float, optional
- nbnd#
Total number of bands in the calculation.
- Type:
int
- nbnd_energy#
Number of bands within the specified energy range.
- Type:
int
- lattice_vec#
3x3 array representing the lattice vectors from the PW calculation.
- Type:
np.ndarray
- fermi_level#
Fermi level or the energy of the highest occupied band (in eV).
- Type:
float
- atomic_positions#
Array of atomic positions in Cartesian coordinates.
- Type:
np.ndarray
- band_scf#
SCF band structure array containing eigenvalues (and possibly occupations).
- Type:
np.ndarray
- property Structure: dict#
- property atomic_positions: None#
- property atomic_positions_relax: None#
- property efermi: None#
- property lattice_vec: None#
- property midgap: None#
- property nbnd: int#
- property nbnd_energy: int#
- property species#
- property total_energy: None#
- EPWpy.QE.PW_util.obtain_atomic_positions(natoms, file='nscf/nscf.out')[source]#
Returns atomic positions and species