Skip to content

misori_orthorhombic

misori_orthorhombic(u1, u2)

Categories: Crystallography

Description

computes the trace of the smallest misorientation u1 and u2 are both orientation matrices "U" compute u1. u2.T to get the rotation from one to the other find the flips that will maximise the trace: abs( trace(dot(u1,u2.T) )) Looks like point group mmm. Not sure why this is in C? Beware: work in progress

Parameters

Name Description
u1 Orientation matrix U (9-element flattened double).
u2 Orientation matrix U (9-element flattened double).

Constraints

  • u1.format == 'd'
  • u1.n == 9
  • u2.format == 'd'
  • u2.n == 9

Overloads

C function Condition
misori_orthorhombic always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)