vaspparser.vasp.procar.Procar#
- class vaspparser.vasp.procar.Procar[source]#
Bases:
objectThis module contains routines to parse VASP PROCAR files.
Methods
- from_file(filename: str) ElectronicStructure[source]#
Parse a VASP PROCAR file and return the electronic structure.
The PROCAR file is written when
LORBIT = 10orLORBIT = 11is set in the INCAR. It contains the k-point coordinates and weights, band eigenvalues and occupancies, and the projection of the wave functions onto spherical harmonics centered on each ion (orbital- and atom-resolved DOS weights).- Parameters:
filename (str) – Path to the PROCAR file
- Returns:
- Populated electronic structure object with k-points,
bands, eigenvalues, occupancies, and atom/orbital-resolved DOS matrices
- Return type: