raw¶
py4vasp.raw Package¶
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 File class.
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.
Classes¶
|
Provides an extension to a dictionary storing also the version of the data. |
|
Extract raw data from the HDF5 file. |
|
Electronic band structure |
|
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. |
|
The electronic or ionic dielectric function. |
|
The dielectric tensor resulting from ionic and electronic contributions. |
|
Electronic density of states. |
|
The elastic module calculated in a linear response calculation. |
|
Various energies during ionic relaxation or MD simulation. |
|
The forces acting on the atoms at all steps. |
|
The force constants of the material. |
|
The internal strain calculated in a linear response calculation. |
|
k points at which wave functions are calculated. |
|
Data about the magnetism in the system. |
|
The piezoelectric tensor calculated in a linear response calculation. |
|
The electronic and ionic dipole moments. |
|
Projectors used for 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. |
|
The topology of the system used, i.e., which elements are contained. |
|
The version number of Vasp. |