Skip to content

misori_tetragonal

misori_tetragonal(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 finds the flips a/b and c->-c that will maximise the trace: abs( trace(dot(u1,u2.T) )) Looks like point group 4/mmm. What about 4/m ? 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_tetragonal always

Built from commit 7ba8255fa8d680e1a1df79e67aee3873247ce69c (v0.4.5)