py4vasp phonon band visualization

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
michael_walkup
Newbie
Newbie
Posts: 10
Joined: Tue Jun 18, 2024 8:25 pm

py4vasp phonon band visualization

#1 Post by michael_walkup » Sat Sep 21, 2024 6:43 am

Hello,

I am plotting phonon bands of phthalocyanine (H20PBc) and am using py4vasp to pull the data from the vaspout.h5 file. I'm unfamiliar with Jupyter, so I initially used Spyder and a pandas database to plot the phonon bands. I then found I couldn't look at phonon modes of specific atoms, so I plotted the same data in Jupyter using the regular py4vasp commands (specifically, mycalc.phonon_band.to_plotly()). When selecting individual atoms, the bands in the plot turn from simple lines into wide, translucent bands. With the large number of bands, this makes the details in the plot difficult to discern. What is the significance of this visualization? I have attached images of the same data in Spyder, in Jupyter, and one more in Jupyter selecting a carbon atom.

-Michael

You do not have the required permissions to view the files attached to this post.

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

Re: py4vasp phonon band visualization

#2 Post by martin.schlipf » Mon Sep 23, 2024 6:01 pm

The width of the line corresponds to the contribution of specific atoms to a phonon mode. If you have a system with different atom types you would typically see that the heavier atoms contribute more to the lower frequency modes. If the modes are very close so that all these lines overlap you can play with the width argument to change the strength of the broadening effect.

As an alternative for complex systems, it is often helpful to look at the phonon DOS to investigate the atom contributions. By loosing the qpoint dependence you have a more compact representation of the information so it is possible to distinguish the atomwise contributions.

Martin Schlipf
VASP developer


Post Reply