Miller indices are used to describe directions with respect to the crystal reference system.
Crystal Lattice Directions
Since lattice directions are always subject to a certain crystal reference frame, the starting point for any crystal direction is the definition of a variable of type crystalSymmetry
.
The variable cs
contains the geometry of the crystal reference frame and, in particular, the alignment of the crystallographic \(\vec a\), \(\vec b\), and, \(\vec c\) axis.
A lattice direction \(\vec m = u \cdot \vec a + v \cdot \vec b + w \cdot \vec c\) is a vector with coordinates \(u\), \(v\), \(w\) with respect to these crystallographic axes. Such a direction is commonly denoted by \([uvw]\) with coordinates \(u\), \(v\), \(w\) called Miller indices. In MTEX a lattice direction is represented by a variable of type Miller
which is defined by
for values \(u = 1\), \(v = 0\), and, \(w = 1\). To plot a crystal direction as a spherical projections do
Note that MTEX by default aligns spherical projections of crystal directions such that the b-axis points towards east and the z-axis points out of the plane. This behaviour can be changed by the commands plota2east
, plota2north
, plota2west
, plota2south
, plotb2east
, plotb2north
, plotb2west
, plotb2south
, or plotaStar2East
.
Crystal Lattice Planes
A crystal lattice plane \((hkl)\) is commonly described by its normal vector \(\vec n = h \cdot \vec a^* + k \cdot \vec b^* + \ell \cdot \vec c^*\) where \(\vec a^*\), \(\vec b^*\) and \(\vec c^*\) describe the reciprocal crystal coordinate system. In MTEX a lattice plane is defined by
By default lattice planes are plotted as normal directions. Using the option 'plane'
we may alternatively plot the trace of the lattice plane with the sphere.
Note that for non Euclidean crystal frames uvw and hkl notations usually lead to different directions.
Trigonal and Hexagonal Convention
In the case of trigonal and hexagonal crystal symmetry often four digit Miller indices \([UVTW]\) and \((HKIL)\) are used, as they make it more easy to identify symmetrically equivalent directions. This notation is redundant as the first three Miller indices always sum up to zero, i.e., \(U + V + T = 0\) and \(H + K + I = 0\). The syntax is
In order to switch the output format, e.g. from UVTW to uvw do
or from reciprocal to direct coordinates
Note, that this does not change the vector but only the display of the coefficients. Internally, all vectors are stored with respect to the cartesian coordinate system.