DerekDardzinski / vaspvis

A highly flexible and customizable library for visualizing electronic structure data from VASP calculations.
MIT License
30 stars 14 forks source link

bandplot 'shift_efermi' problem #11

Closed lichzhwiwi closed 5 months ago

lichzhwiwi commented 5 months ago

Hello, I met with problems that the 'shift_efermi' parameter doesn't work when ploting band , and mismatch the dos plot. The dos plot seems to be right, and if i change 'shift_efermi' value, the dos plot will shift correctly but the band plot will remain. The code i use is as follow: standard.band_dos_spd( band_folder='', dos_folder='', erange=[-16.076, 16.076], shift_efermi=0, output='band_dos_spd1.png', ) standard.band_dos_spd( band_folder='', dos_folder='', erange=[-16.076, 16.076], shift_efermi=-3.074, output='band_dos_spd2.png', ) band_dos_spd1 band_dos_spd2 The efermi should be 3.074

I am not sure how to fix this problem, thanks for your attention

lichzhwiwi commented 5 months ago

I only met with this problem once , everything goes fine later , so i closed this issue