Skip to content

Commit

Permalink
Use diffsims for electron scattering and diffraction (#220)
Browse files Browse the repository at this point in the history
* Introduce diffsims dependency, use diffsims' ReciprocalLatticePoint

Signed-off-by: Håkon Wiik Ånes <hwaanes@gmail.com>

* Add "Added" changelog entry explaining diffsims dependency

Signed-off-by: Håkon Wiik Ånes <hwaanes@gmail.com>
  • Loading branch information
hakonanes committed Sep 23, 2020
1 parent 8970d1d commit f39bd4b
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 999 deletions.
3 changes: 3 additions & 0 deletions doc/changelog.rst
Expand Up @@ -34,6 +34,9 @@ Added
detector, which can be added to an EBSD signal as markers.
(`#204 <https://github.com/pyxem/kikuchipy/pull/204>`_,
`#219 <https://github.com/pyxem/kikuchipy/pull/219>`_)
- Dependency on the diffsims package (https://github.com/pyxem/diffsims/) for
handling of electron scattering and diffraction.
(`#220 <https://github.com/pyxem/kikuchipy/pull/220>`_)

Changed
-------
Expand Down
2 changes: 1 addition & 1 deletion kikuchipy/conftest.py
Expand Up @@ -21,13 +21,13 @@
import tempfile

from diffpy.structure import Atom, Lattice, Structure
from diffsims.crystallography import ReciprocalLatticePoint
import numpy as np
from orix.crystal_map import Phase
from orix.quaternion.rotation import Rotation
from orix.vector import Vector3d, neo_euler
import pytest

from kikuchipy.crystallography import ReciprocalLatticePoint
from kikuchipy.detectors import EBSDDetector
from kikuchipy.generators import EBSDSimulationGenerator
from kikuchipy.signals import EBSD
Expand Down
5 changes: 0 additions & 5 deletions kikuchipy/crystallography/__init__.py
Expand Up @@ -21,12 +21,7 @@
from diffpy.structure import Lattice
import numpy as np

from kikuchipy.crystallography.reciprocal_lattice_point import (
ReciprocalLatticePoint,
)

__all__ = [
"ReciprocalLatticePoint",
"get_direct_structure_matrix",
"get_reciprocal_structure_matrix",
"get_reciprocal_metric_tensor",
Expand Down
103 changes: 0 additions & 103 deletions kikuchipy/crystallography/atomic_scattering_factor.py

This file was deleted.

210 changes: 0 additions & 210 deletions kikuchipy/crystallography/atomic_scattering_parameters.py

This file was deleted.

0 comments on commit f39bd4b

Please sign in to comment.