Is there any script that can remove fake k-points from a vasprun.xml
file for HSE06 band structure calculation? Because removing it manually is a time-consuming task.
-
$\begingroup$ How does one actually do this task? Maybe something can be written. $\endgroup$– Tristan MaxsonOct 31, 2020 at 13:28
-
$\begingroup$ You can first read the EIGENVAL file and then exclude all fake k-points. $\endgroup$– JackOct 31, 2020 at 14:01
-
$\begingroup$ What are fake k-points? $\endgroup$– Camps ♦Oct 31, 2020 at 15:10
-
$\begingroup$ I am pretty sure "Fake" kpoints refer to the actual grid where the HSE06 band structure is calculated at 0 weight kpoints ontop of a normal kpoint grid $\endgroup$– Tristan MaxsonOct 31, 2020 at 18:11
-
$\begingroup$ By fake k-points I mean zero weight k-points. $\endgroup$– Chi KouOct 31, 2020 at 22:54
1 Answer
Here I write a python script to read the EIGENVAL of VASP to exclude the fake points used in the HSE06 band calculation, taking silicon as an example.
The final plot is the following:
-
1$\begingroup$ That's a good script. Could you please add more comments to it, so it will be easier for the user to adopt it to any HSE06 bandstructure. Please indicate the lines that should be edited for every use. $\endgroup$– Chi KouNov 5, 2020 at 12:28
-
1$\begingroup$ This could have been an HNQ if you answered just 2 days earlier! $\endgroup$ Nov 8, 2020 at 0:29
-
$\begingroup$ Can I change MATPLOTIB in the plot script to another program? $\endgroup$– 샤다ㅏFeb 20, 2022 at 13:50
-
$\begingroup$ This is a python script. Of course, you can change it if you are using another package supported by the Python language. $\endgroup$– JackFeb 20, 2022 at 14:07
-