this works for internal

This commit is contained in:
Martin Diehl 2020-03-19 15:06:25 +01:00
parent 9bb0608187
commit 327899890a
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import numpy as np import numpy as np
from . import Lambert from ._Lambert import *
P = -1 P = -1
@ -802,7 +802,7 @@ class Rotation:
@staticmethod @staticmethod
def ho2cu(ho): def ho2cu(ho):
"""Homochoric vector to cubochoric vector.""" """Homochoric vector to cubochoric vector."""
return Lambert.BallToCube(ho) return BallToCube(ho)
#---------- Cubochoric ---------- #---------- Cubochoric ----------
@ -834,4 +834,4 @@ class Rotation:
@staticmethod @staticmethod
def cu2ho(cu): def cu2ho(cu):
"""Cubochoric vector to homochoric vector.""" """Cubochoric vector to homochoric vector."""
return Lambert.CubeToBall(cu) return CubeToBall(cu)