OOF2: The Manual
Name
XYZ (XYZ) — The "aerodynamic" XYZ convention for specifying an orientation. Rotation by phi about x, then theta about y, then psi about z, brings the crystal axes into coincidence with the lab axes.
Synopsis
XYZ
(phi
,theta
,psi
)
Details
-
Base class:
Orientation
-
Parameters:
phi
- Initial rotation about x axis, in degrees. Type: A real number in the range [-180, 180].
theta
- Second rotation, about y axis, in degrees. Type: A real number in the range [0, 180].
psi
- Third rotation, about z axis, in degrees. Type: A real number in the range [-180, 180].
Description
An XYZ
object represents the orientation of
a three dimensional object, assumed to be a crystal, in three
dimensional space in terms of Euler angles conventionally denoted
,
, and
. In the
XYZ
convention, as implied by the name, these represent rotations
successively about each axis. Similarly to the Abg Euler angles, these define
rotations which take the crystal basis vectors
,
, and
into coincidence with the lab (or screen) basis vectors
,
, and
, respectively. The first rotation,
associated with
, is about the initial crystalline
axis, the second by
about the rotated crystalline
axis, and the third by
about the doubly-rotated crystalline
axis.
This rotation scheme is one member of a family of rotation
schemes, all of which differ only in the order in which the
rotation axes are specified for the successive rotations
associated with the Euler angles. The XYZ
convention is used in the aerodynamics community, where the angles
correspond to the pitch, roll, and yaw of a vehicle. In other
conventions, such as X, when
is small, then
and
have similar effects,
which can be numerically inconvenient. This convention avoids
this feature. The nomenclature comes from the second edition of
"Classical Mechanics" by H. Goldstein.