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

Add Fermi level line and E-Ef (eV) to the band structure plot #44

Merged
merged 5 commits into from
Apr 4, 2023

Conversation

dou-du
Copy link
Contributor

@dou-du dou-du commented Dec 1, 2022

To fix: aiidalab/aiidalab-qe#322

A fermi level line is also added to the band structure plot.

image

@dou-du
Copy link
Contributor Author

dou-du commented Dec 1, 2022

@unkcpz Hi Jusong, please have a look at the code. I have no idea why the annotation is working for the DOS but not for the band structure.

@dou-du dou-du requested a review from unkcpz December 1, 2022 15:04
@unkcpz
Copy link
Collaborator

unkcpz commented Dec 13, 2022

Sorry @dou-du, I didn't manage time to work on this. Will put it to my TODO list have a look at this.

@unkcpz
Copy link
Collaborator

unkcpz commented Jan 10, 2023

I don't have any idea at the moment how to fix this, the code is a bit messy to me and I am not very familiar with js. I'll try to refactor the code a bit and then come back to tackle the issue.

@dou-du
Copy link
Contributor Author

dou-du commented Mar 29, 2023

@unkcpz

Hi Jusong,

The issue has been fixed and it is ready to merge. The red line to represent Fermi level is added to the bandstructure figure as shown at the top of this PR.

Cheers,
Dou

Copy link
Collaborator

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @dou-du

@unkcpz unkcpz merged commit 7176296 into main Apr 4, 2023
@unkcpz unkcpz deleted the fermi-line branch April 4, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants