Name

find_inplane_to_match - Find the z rotation such that ZA RA is as close as possible to RB: the rotation ZA maximizes the trace of ( RBT ZA RA) = trace(ZA RA RBT)

Usage

Input

phiA
first Euler of A rotation (z)
thetaA
second Euler of A rotation (y)
phiB
first Euler of B rotation (z)
thetaB
second Euler of B rotation (z)
psiA
optional
psiB
otpional


Output

z-angle
the desired angle
tilt
the resulting tilt between the rotations


Author / Maintainer

P. R. Baldwin

Keywords

category 1
UTILITIES
category 2
SPATIAL

Files

emdata_sparx.cpp (method symvol); utilities.py,

Maturity

stable
works for most people, has been tested.

Bugs

N one detected so far.

find_inplane_to_match (last edited 2013-07-01 13:12:39 by localhost)