diff --git a/SO3Fun/@SO3Fun/transformReferenceFrame.m b/SO3Fun/@SO3Fun/transformReferenceFrame.m index 3e775eed2..87f24a933 100644 --- a/SO3Fun/@SO3Fun/transformReferenceFrame.m +++ b/SO3Fun/@SO3Fun/transformReferenceFrame.m @@ -16,6 +16,7 @@ % ori = orientation.rand(cs1) % odf1 = SO3FunHarmonic(unimodalODF(ori)) % %odf1 = BinghamODF([1 0 0 0],ori) +% %odf1 = SO3FunHandle(@(ori) odf1.eval(ori),odf1.CS) % odf2 = transformReferenceFrame(odf1,cs2) % % plotPDF(odf1,Miller({1,0,0},{0,0,1},{0,1,0},cs1)) diff --git a/doc/Rotations/RotationSpinTensor.m b/doc/Rotations/RotationSpinTensor.m index a4217739b..99ef361d2 100644 --- a/doc/Rotations/RotationSpinTensor.m +++ b/doc/Rotations/RotationSpinTensor.m @@ -144,4 +144,5 @@ % in specimen coordinates v = log(ori,ori_ref,SO3TangentSpace.leftVector) +S = log(ori,ori_ref,SO3TangentSpace.leftSpinTensor) exp(v,ori_ref,SO3TangentSpace.leftVector)