raw¶
py4vasp.raw Module¶
Extract the raw data from the HDF5 file and transform it into dataclasses.
In the HDF5 file, the raw data is stored with specific keys. To avoid propagating the name of these keys to the higher tier modules, we transform everything into dataclasses. This enables the introduction of new file formats by replacing the access function.
Notes
The data from the HDF5 file is lazily loaded except for scalars. This avoids memory issues when the HDF5 file contains a lot of data, because only what is needed is read. However, this has the consequence that you need to enforce the read operation before the file is closed.
Functions¶
|
Create access to a particular quantity from the VASP output. |
Classes¶
|
A band structure generated by VASP. |
|
The Born effective charges resulting form a linear response calculation. |
|
Unit cell of the crystal or simulation cell for molecules. |
|
The electronic charge and magnetization density on the Fourier grid. |
|
The full frequency-dependent dielectric function. |
|
The dielectric tensor resulting from ionic and electronic contributions. |
|
A general class for dispersions (electron and phonon). |
|
Contains the density of states (DOS) including its projections where available. |
|
The elastic modulus calculated in a linear response calculation. |
|
Various energies during ionic relaxation or MD simulation. |
|
Contains the BSE data required to produce a fatband plot. |
|
The forces acting on the atoms at all steps of a MD simulation or relaxation. |
|
The force constants of the material. |
|
The internal strain calculated in a linear response calculation. |
|
A k-point mesh in the Brillouin zone. |
|
The local charges and magnetic moments on the ions. |
|
The pair-correlation function calculated during a MD simulation. |
|
The band structure of the phonons. |
|
Contains the phonon density of states (DOS) including its projections where available. |
|
The piezoelectric tensor calculated in a linear response calculation. |
|
The electronic and ionic dipole moments. |
|
Projectors used for atom and orbital projections. |
|
The stress acting on the unit cell at all steps. |
|
Structural information of the system. |
|
The name of the system set in the input. |
|
Contains the type of ions in the system and how many of each type exist. |
|
Wraps the data produced by the VASP calculation. |
|
Contains the ion velocities along the trajectory. |
|
The version number of VASP. |