Skip to content

aoowweenn/VASP-band-plotter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VASP-band-plotter

Simple tool to draw beautiful band structure from VASP output.

Requirement

  • python2.7 / python3
  • pandas
  • matplotlib

Preparation

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 $\Gamma$.

Execution

python genCSV.py

will create band.csv which is needed by genBand.py.

python genBand.py ymin ymax

will plot the band structure.

Example: Na3Bi

Band structure of Na3Bi

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages