Data extraction of eg-t2g from vasp output files.

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
farah_shahzadi
Newbie
Newbie
Posts: 31
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: 542
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.

Martin Schlipf
VASP developer


Locked