Skip to content

Given reciprocal lattice vectors, construct a three dimensional Brillouin Zone.

Notifications You must be signed in to change notification settings

kgord831/BZViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BZViewer

Given reciprocal lattice vectors, construct a three dimensional Brillouin Zone. Generates an AutoCAD script file which can construct the BZ in AutoCAD.

How to use it

  • Open visualize.py
  • Type in the reciprocal lattice vectors b1, b2, and b3 into the list of lattice_vectors
  • python visualize.py
  • This will generate cad_script.scr
  • Open autocad
  • Make sure osnap is turned off!
  • Call scriptcall then double-click on the generated cad_script.scr
  • Visualize!

Acknowledgements

Thanks to http://www.thp.uni-koeln.de/trebst/Lectures/SolidState-2016/wigner_seitz_3d.py for introducing me to Voroni cells and how to use them to compute Brillouin zones.

About

Given reciprocal lattice vectors, construct a three dimensional Brillouin Zone.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages