Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bandsdosplot error #93

Open
Juo-kim opened this issue Jan 18, 2023 · 6 comments
Open

Bandsdosplot error #93

Juo-kim opened this issue Jan 18, 2023 · 6 comments

Comments

@Juo-kim
Copy link

Juo-kim commented Jan 18, 2023

Hi, I would like to plot the bandsdosplot by pyprocar. So I followed the tutorial of the pyprocar github, but I couldn't get a bandstructure and dos becuase of this error. Is there something wrong that I did?

스크린샷 2023-01-19 오전 1 14 59
스크린샷 2023-01-19 오전 1 15 07

@uthpalaherath
Copy link
Member

uthpalaherath commented Jan 18, 2023 via email

@Juo-kim
Copy link
Author

Juo-kim commented Jan 19, 2023

스크린샷 2023-01-19 오전 9 07 53
Thank you for reply.
This is my KPOINTS file. It was created by VASPKIT tools

@uthpalaherath
Copy link
Member

uthpalaherath commented Jan 19, 2023 via email

@Juo-kim
Copy link
Author

Juo-kim commented Jan 19, 2023

Oh, I got it.

Then I will do the calculate again with a comment.
Thank you!!

@Maruf001
Copy link

Maruf001 commented Feb 3, 2023

Hi Uthpala,

I got similar error, but I think KPOINTS is correct. I wonder if you could please point out where the problem is. Thanks!

pyprocar.bandsdosplot(bands_file='PROCAR',
outcar='OUTCAR',
dos_file='vasprun.xml',
bands_mode='plain',
dos_mode='plain',
dos_labels=[r'$\uparrow$',r'$\downarrow$'],
elimit=[-6,6],
kpointsfile='KPOINTS')

image

image

@wladerer
Copy link

wladerer commented Mar 4, 2023

I had the same issue

Line_mode KPOINTS file
40
Line_mode
Reciprocal
0.0 0.0 0.0 ! \Gamma
0.5 0.0 0.0 ! L

0.5 0.0 0.0 ! L
0.6617635079093097 0.3382364920906903 0.0 ! Q

0.6617635079093097 0.3382364920906903 0.0 ! Q
0.5 0.5 0.0 ! F

0.5 0.5 0.0 ! F
0.0 0.0 0.0 ! \Gamma

0.0 0.0 0.0 ! \Gamma
0.6617635079093097 0.3382364920906903 0.0 ! Q

0.6617635079093097 0.3382364920906903 0.0 ! Q
0.0 0.0 0.0 ! \Gamma

Python 3.6.8
RHEL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants