Defining Orientations edit page

This sections covers the definition of orientations as MTEX variables. The theoretical definition can be found in the section Theory and MTEX vs Bunge Convention.

Technically, a variable of type orientation is nothing else then a rotation that is accompanied by a crystal symmetry. Hence, all methods for defining rotations (as explained here) are also applicable for orientations with the only difference that the crystal symmetry has to be specified in form of a variable of type crystalSymmetry.

Most importantly we may use Euler angles to define orientations

or a 3x3 rotation matrix

## Miller indices

Another common way to specify an orientation is by the crystal directions point towards the specimen directions Z and X. This can be done by the command orientation.byMiller. E.g. in order to define the GOSS orientation (011)[100] we can write

Note that MTEX comes already with a long list of predefined orientations.

## Random Orientations

To simulate random orientations we may apply the same syntax as for rotations and write

## Specimen Symmetry

If one needs to consider also specimen symmetry this can be defined as a variable of type specimenSymmetry and passed as an additional argument to all commands discussed above, e.g.,

Symmetrisation will now result in a very long list of symmetrically equivalent orientations