Skip to content

Visualize vibrational modes from VASP calculations

Notifications You must be signed in to change notification settings

akentphonon/VaspVib2XSF

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

VaspVib2XSF

A help python script to visualize the vibration modes from a VASP calculation. The script read the eigenvectors of the vibration modes from OUTCAR and the atomic coordinates from POSCAR. The vibration mode is then shown as a vector field on the atomic sites. To visualize the mode, an '.xsf' file of the selected mode is written, which can be openned by VESTA.

examples

Prerequisites

Usage

By default, all the vibration modes are selected (-m 0).

usage: vasp2xsf.py [-h] [-i OUTCAR] [-p POSCAR] [-m MODE] [-s SCALE]

optional arguments:
  -h, --help  show this help message and exit
  -i OUTCAR   Location of VASP OUTCAR.
  -p POSCAR   Location of VASP POSCAR.
  -m MODE     Select the vibration mode, 0 for all modes.
  -s SCALE    Scale factor of the vector field.

About

Visualize vibrational modes from VASP calculations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%