From 327899890a3cc8302a237df163fa7bedf5f97694 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 19 Mar 2020 15:06:25 +0100 Subject: [PATCH] this works for internal --- python/damask/{Lambert.py => _Lambert.py} | 0 python/damask/rotation.py | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename python/damask/{Lambert.py => _Lambert.py} (100%) diff --git a/python/damask/Lambert.py b/python/damask/_Lambert.py similarity index 100% rename from python/damask/Lambert.py rename to python/damask/_Lambert.py diff --git a/python/damask/rotation.py b/python/damask/rotation.py index 28f55853b..8cb1f139d 100644 --- a/python/damask/rotation.py +++ b/python/damask/rotation.py @@ -1,6 +1,6 @@ import numpy as np -from . import Lambert +from ._Lambert import * P = -1 @@ -802,7 +802,7 @@ class Rotation: @staticmethod def ho2cu(ho): """Homochoric vector to cubochoric vector.""" - return Lambert.BallToCube(ho) + return BallToCube(ho) #---------- Cubochoric ---------- @@ -834,4 +834,4 @@ class Rotation: @staticmethod def cu2ho(cu): """Cubochoric vector to homochoric vector.""" - return Lambert.CubeToBall(cu) + return CubeToBall(cu)