romerogroup / pyprocar

A Python library for electronic structure pre/post-processing
GNU General Public License v3.0
165 stars 72 forks source link

Problems plotting band structure with HSE06 #146

Closed TheGreatDeadOne closed 3 weeks ago

TheGreatDeadOne commented 1 month ago

Pyprocar can even plot graphs properly, but the software can't identify the symmetry points for the kpath labels. I tried using KPOINTS from an SCF, but the package only managed to list the labels but not the band structure.

Figure_1 Figure_2

lllangWV commented 1 month ago

Hello,

Can I see your input files? Also, what files are in your directory, and what code are you using?

Logan Lang

TheGreatDeadOne commented 1 month ago

Hello,

Can I see your input files? Also, what files are in your directory, and what code are you using?

Logan Lang

I'm using VASP. The calculation files are attached. hse.zip

lllangWV commented 1 month ago

Thanks for the files!

Upon reviewing your files, the issue seems to stem from the explicit k-points path specified in the KPOINTS file. We currently, do not have a method to parse this.

I can incorporate this functionality, but it will take a few days to implement.

In the meantime, I recommend using line mode to generate the k-path, as indicated in your KPATH file. However, please note a discrepancy: the KPATH file seems to suggest 180 k-points for the kpath, while the PROCAR file contains 190. Therefore, simply replacing the KPOINTS file with the path from the KPATH file won’t work. You'll need to rerun the calculation to resolve this.

Try this and let me know if you run into any issues again!

Logan Lang

TheGreatDeadOne commented 1 month ago

Thanks for the files!

Upon reviewing your files, the issue seems to stem from the explicit k-points path specified in the KPOINTS file. We currently, do not have a method to parse this.

Okay, got it

Try this and let me know if you run into any issues again!

Thanks for the tips, I'll give it a try.

Logan Lang