Skip to content

Uses the SeeKpath program and the ASE package to generate standardised sets of special points and paths between them for any given crystal structure.

Notifications You must be signed in to change notification settings

keeeto/SetupKpoints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetupKpoints

This script uses the SeeKpath and ASE codes to take an input crystal structure and return a standardised k-path through the Brillouin zone. The path is chose based on crystallography.

If you do use this code you will require

If you do use it to generate the points always remember to cite the paper that details the process of SeeKpath :

Use

python setup_kpoints.py [options]

Options: -h, --help show this help message and exit

-f INPUT_FILE, --input=INPUT_FILE The crystal structure. Default POSCAR

-o OUTPUT_FILE, --output=OUTPUT_FILE The file to which the new kpoints will be appended. Default: KPOINTS.k_path.

-r RESOLUTION, --resolution=RESOLUTION a reference target distance between neighboring k-points in the path, in units of 1/ang.

-t Turns off time reversal symmetry, if it is off and there is no centrosymmetry, additional lines are needed.

Example:

python setup_kpoints.py -f GaN.cif -o KPTS -r 0.1

Notes

If obtaining SeeKpath using pip make sure that you are using Python 2. Although pip3 install seekpath will work, it does not support Python 3.

About

Uses the SeeKpath program and the ASE package to generate standardised sets of special points and paths between them for any given crystal structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages