data¶
py4vasp.data Package¶
Refine the raw data produced by VASP for plotting or analysis.
Usually one is not directly interested in the raw data that is produced but wants to produce either a figure for a publication or some post-processing of the data. This module contains multiple classes that enable these kinds of workflows by extracting the relevant data from the HDF5 file and transforming them into an accessible format. The classes also provide plotting functionality to get a quick insight about the data, which can then be refined either within python or a different tool to obtain publication-quality figures.
Generally, all classes provide a read function that extracts the data from the HDF5 file and puts it into a Python dictionary. Where it makes sense in addition a plot function is available that converts the data into a figure for Jupyter notebooks. In addition, data conversion routines to_X may be available transforming the data into another format or file, which may be useful to generate plots with tools other than Python. For the specifics, please refer to the documentation of the individual classes.
Classes¶
|
The electronic band structure. |
|
The Born effective charge tensors coupling electric field and atomic displacement. |
|
The charge and magnetization density. |
|
The dielectric function resulting from electrons and ions. |
|
The static dielectric tensor obtained from linear response. |
|
The electronic density of states (DOS). |
|
The elastic modulus (second derivatives w.r.t. |
|
The energy data for one or several steps of a relaxation or MD simulation. |
|
The forces acting on the atoms for selected steps of the simulation. |
|
The force constants (second derivatives of atomic displacement). |
|
The internal strain |
|
The k points used in the Vasp calculation. |
|
The magnetic moments and localized charges for selected ionic steps. |
|
The piezoelectric tensor (second derivatives w.r.t. |
|
The static polarization of the structure obtained from linear response. |
|
The projectors used for atom and orbital resolved quantities. |
|
The stress acting on the unit cell for selected steps of the simulation. |
|
The structure of the crystal for selected steps of the simulation. |
|
Extract the system tag from the INCAR file. |
|
This class accesses the topology of the crystal. |
|
Collection of data and elements to be displayed in a structure viewer. |