# How to remove the fake k-points from vasprun.xml file in the calculation of HSE06 band structure?

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.

• How does one actually do this task? Maybe something can be written. – Tristan Maxson Oct 31 '20 at 13:28
• You can first read the EIGENVAL file and then exclude all fake k-points. – Jack Oct 31 '20 at 14:01
• What are fake k-points? – Camps Oct 31 '20 at 15:10
• 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 – Tristan Maxson Oct 31 '20 at 18:11
• By fake k-points I mean zero weight k-points. – Chi Kou Oct 31 '20 at 22:54