Data extraction of eg-t2g from vasp output files.
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 31
- Joined: Sun Mar 03, 2024 8:33 am
Data extraction of eg-t2g from vasp output files.
How to get data about eg and t2g from vasp files or in which type of calcualtions i get their information?How can i plot them using gnuplot ?
-
- Global Moderator
- Posts: 542
- Joined: Fri Nov 08, 2019 7:18 am
Re: Data extraction of eg-t2g from vasp output files.
If your octahedron is aligned with the Cartesian axes, you can use py4vasp to get the raw data.
You can also export this data to csv, if you prefer using a different plotting tool like gnuplot. Notice that py4vasp requires that you compile VASP with HDF5 support and VASP >= 6.2.
Code: Select all
import py4vasp
calc = py4vasp.Calculation.from_path("/path/to/vasp/calculation")
calc.dos.plot("dxy + dxz + dyz, dx2y2 + dz2")
Martin Schlipf
VASP developer