pyxem / kikuchipy

Toolbox for analysis of electron backscatter diffraction (EBSD) patterns
https://kikuchipy.org
GNU General Public License v3.0
79 stars 30 forks source link

Remove old and add new deprecations #577

Closed hakonanes closed 1 year ago

hakonanes commented 1 year ago

Description of the change

Progress of the PR

Minimal example of the bug fix or new feature

>>> from orix.vector import Vector3d
>>> import kikuchipy as kp
>>> kp.projections.GnomonicProjection().vector2xy(Vector3d([0.5, 0, 0]))
/home/hakon/kode/kikuchipy/kikuchipy/projections/gnomonic_projection.py:40: VisibleDeprecationWarning: Function `vector2xy()` is deprecated and will be removed in version 0.9.0.
  @deprecated(since="0.8.0", removal="0.9.0")
array([[1.63312394e+16, 0.00000000e+00]])

For reviewers