Simple tool to draw beautiful band structure from VASP output.
- python2.7 / python3
- pandas
- matplotlib
You need to prepare some of the files needed / generated by VASP in the same working directory:
KPOINTS, EIGENVAL, OUTCAR
KPOINTS should spectify k vectors in reciprocal space
For example,
k-points along high symmetry lines
40
Line-mode
reciprocal
0.5 0 0 ! M
0 0 0 ! gamma
0 0 0 ! gamma
0.333333 0.333333 0.0000 ! K
Also, genCSV.py takes the first character of M, gamma, and K, "M, G, K"
and genBand.py handles "G" to the symbol
python genCSV.pywill create band.csv which is needed by genBand.py.
python genBand.py ymin ymaxwill plot the band structure.
