-
Notifications
You must be signed in to change notification settings - Fork 13
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
Spin-Polarized Band structure Plotting #3
Comments
There is a function in the standard module called band_plain_spin_polarized. In fact, all of the functions have a spin_polarized version. |
alright, thanks for the clarification. I tried using that and it plots up and down channel separately, can they be plotted together? |
you could do that by: from vaspvis import standard as st fig, ax = st.band_plain_spin_polarized( |
You can set from vaspvis import standard as st
st.band_plain_spin_polarized(folder='band', soc_axis='z', up_color='red', down_color='blue', sp_scale_factor=5) |
Thanks for making vaspvis available, it is indeed very useful.
![Screenshot from 2021-08-27 14-28-32](https://user-images.githubusercontent.com/61748682/131127628-b477aac0-1558-477f-a789-93a75ef50a92.png)
I am trying to plot spin-polarized band structure but it seems that only 1 spin-channel is plotted, using the simple plotting command.
What needs to change to plot this correctly?
below is a comparison for vaspvis and p4vasp plots.
The text was updated successfully, but these errors were encountered: