Exploring Band Structure and Density of States Visualization Tools for VASP Calculations

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

Exploring Band Structure and Density of States Visualization Tools for VASP Calculations

#1 Post by farah_shahzadi » Tue Apr 02, 2024 9:37 pm

I'm currently working with VASP and need recommendations for the best tools to effectively plot band structures and density of states obtained from VASP calculations. Could you please share your insights and suggestions on the most reliable and user-friendly tools for this purpose?

Thank you in advance for your help!

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

Re: Exploring Band Structure and Density of States Visualization Tools for VASP Calculations

#2 Post by martin.schlipf » Wed Apr 03, 2024 6:37 am

We developed our own tool py4vasp that is hopefully user friendly. It relies on the novel HDF5 output introduced with VASP 6.2 and you perform typical postprocessing tasks with minimal amount of code. For your specific example, the band structure and the DOS you could do

Code: Select all

import py4vasp
calc = py4vasp.Calculation.from_path("/path/to/vasp/calculation")
calc.band.plot()  # or calc.dos.plot()

Martin Schlipf
VASP developer


Locked