From 9c9286a4be206659babc13d1644871f18a1a3dc7 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Fri, 7 May 2021 21:51:11 +0200 Subject: [PATCH] no connection to the class --- python/damask/_orientation.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/damask/_orientation.py b/python/damask/_orientation.py index af863d5bb..f965bdfaf 100644 --- a/python/damask/_orientation.py +++ b/python/damask/_orientation.py @@ -1169,8 +1169,8 @@ class Orientation(Rotation): ) - @classmethod - def Bravais_to_Miller(cls,*,uvtw=None,hkil=None): + @staticmethod + def Bravais_to_Miller(*,uvtw=None,hkil=None): """ Transform 4 Miller–Bravais indices to 3 Miller indices of crystal direction [uvw] or plane normal (hkl). @@ -1197,8 +1197,8 @@ class Orientation(Rotation): return np.einsum('il,...l',basis,axis) - @classmethod - def Miller_to_Bravais(cls,*,uvw=None,hkl=None): + @staticmethod + def Miller_to_Bravais(*,uvw=None,hkl=None): """ Transform 3 Miller indices to 4 Miller–Bravais indices of crystal direction [uvtw] or plane normal (hkil).