pyxem / diffsims

An open-source Python library providing utilities for simulating diffraction
https://diffsims.readthedocs.io
GNU General Public License v3.0
46 stars 26 forks source link

Fix hexagonal corners of fundamental sector in stereographic projection #184

Closed hakonanes closed 2 years ago

hakonanes commented 2 years ago

Description of the change

Change the rounded hexagonal corner [10-10] to the exact [9 1 -10 0]. See #183 for details.

Also fixed a rounding error in a test when coordinates passed to DiffractionSimulation where integers and not floats.

Progress of the PR

For reviewers