also missing
This commit is contained in:
parent
8c61f67e34
commit
c57f96cd6e
|
@ -1000,7 +1000,10 @@ class Rotation:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def ho2cu(ho):
|
def ho2cu(ho):
|
||||||
"""Homochoric vector to cubochoric vector."""
|
"""Homochoric vector to cubochoric vector."""
|
||||||
return ball_to_cube(ho)
|
if len(ho.shape) == 1:
|
||||||
|
return ball_to_cube(ho)
|
||||||
|
else:
|
||||||
|
raise NotImplementedError
|
||||||
|
|
||||||
|
|
||||||
#---------- Cubochoric ----------
|
#---------- Cubochoric ----------
|
||||||
|
|
Loading…
Reference in New Issue