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

wrong band structure using pyprocar #169

Open
ubaidjmi opened this issue Nov 14, 2024 · 12 comments
Open

wrong band structure using pyprocar #169

ubaidjmi opened this issue Nov 14, 2024 · 12 comments

Comments

@ubaidjmi
Copy link

Dear developers,
I am plotting a bandtsructure of BaCuLaSe3. The band gap is 0.98 eV. Using the pymatgen and sumo plotting tools, I am getting the same plot and showing the same value of the band gap. While using pyprocar, the band gap is 0.37 eV. I am attaching the band structures plotted using all three tools. Please look into the matter and let me know the solution.https://pubs.acs.org/doi/pdf/10.1021/acs.chemrev.0c00026?download=true
bs_pmg
bs_sumo
bs_pyprocar

@lllangWV
Copy link
Member

Hey ubaidjmi,

I need more information to solve this issue. What code are you using and do you have the inputs?

I would guess this is quantum espresso.

Logan Lang

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 14, 2024 via email

@lllangWV
Copy link
Member

Do you have the INCAR, KPOINTS, and POSCAR?

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 14, 2024 via email

@lllangWV
Copy link
Member

Thanks,

I am running a spin-polarized calculation without spin-orbit right now. Hopefully, it won't take too long to converge. Then I will try to see what the issue is. I will keep you updated.

Logan Lang

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 14, 2024 via email

@lllangWV
Copy link
Member

Hey,

I calculated the band structure for your system with spin-orbit included and it came out correct. What version of pyprocar are you using?

image

If you are wondering why the fermi level is different as compared to the pymatgen, that is because I use the self-consistent fermi energy. I believe pymatgen parses its plots from the vasprun.xml, but this is parsed from the band structure directory which will not have the same fermi energy as the self-consistent fermi energy. I also use a 11 11 11 mesh grid to calculate the fermi energy.

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 21, 2024 via email

@ahromero
Copy link
Collaborator

ahromero commented Nov 21, 2024 via email

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 21, 2024 via email

@uthpalaherath
Copy link
Member

uthpalaherath commented Nov 21, 2024

Another observation I noticed here is that the k-point distances are different from the original plot you showed. This is because by default PyProcar uses reduced coordinates. To use Cartesian coordinates, set kdirect=False.

@ubaidjmi
Copy link
Author

ubaidjmi commented Nov 22, 2024 via email

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