Data extraction of eg-t2g from vasp output files.

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
farah_shahzadi
Newbie
Newbie
Posts: 11
Joined: Sun Mar 03, 2024 8:33 am

Data extraction of eg-t2g from vasp output files.

#1 Post by farah_shahzadi » Sun Apr 07, 2024 8:47 am

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 ?

martin.schlipf
Global Moderator
Global Moderator
Posts: 495
Joined: Fri Nov 08, 2019 7:18 am

Re: Data extraction of eg-t2g from vasp output files.

#2 Post by martin.schlipf » Sun Apr 07, 2024 7:28 pm

If your octahedron is aligned with the Cartesian axes, you can use py4vasp to get the raw data.

Code: Select all

import py4vasp
calc = py4vasp.Calculation.from_path("/path/to/vasp/calculation")
calc.dos.plot("dxy + dxz + dyz, dx2y2 + dz2")
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.

Post Reply