the logarithmic map that translates a rotation into a spin tensor
Syntax
Omega = logm(mori) % spin tensor of a misorientationOmega = logm(ori,ori_ref) % spin tensor in crystal coordinates
Omega = logm(ori,ori_ref,'left') % spin tensor in specimen coordinatesInput
| mori | misorientation |
| ori | orientation |
| ori_ref | orientation |
Output
| Omega | spinTensor |