transformReferenceFrame

(method of orientation)

change reference frame of an orientation

Orientations are always described with respect to a cartesian reference frame x, y, z aligned in a fixed way with the crystal coordiante system

                                
                                   

a and z

c* or x

a* and z

function allows to change the aligment of the reference frame while NOT changing the orientation.

Syntax

ori = ori.transformReferenceFrame(cs)
mori = mori.transformReferenceFrame(cs1,cs2)

Input

ori

orientation

mori

misorientation

cs, cs1, cs2

crystalSymmetry