brillouin zone does not show a hexagon #1
I modified the primitive lattice vector as shown on the figure(in pdf)
However I have trouble with the brillouin zone figure, the hexagon was missing
My code is:
P.S. I just bumped on your project 2 days ago and I am not good at Python programming but just a little above beginner and below average.
The text was updated successfully, but these errors were encountered:
Thank you for reporting the issue. Indeed, it seems to be a bug in the Brillouin zone calculation, specifically in cases where the angle between lattice vectors is obtuse. I have just committed some changes in a3aee7f which should make this calculation more robust and fix the problem.
That fix is committed in the master branch, so you would need to compile the latest version from source code. This can be a bit more complicated than the normal install, but instruction on how to do that are here: Compiling from source. Note that the documentation has two versions: 1. stable (currently v0.8.0) and 2. latest (following the master branch).
Alternatively, you can wait for the release of the next version (v0.8.1) which will use the regular install procedure. I'm planning to add a few more bug fixes and release that soon.