spinw.rl method#
Syntax#
rlVec = rl(obj, {norm})
Description#
rlVec = rl(obj, {norm}) returns the lattice vectors of the reciprocal
lattice in a \([3\times 3]\) matrix, with the \(a^*\), \(b^*\) and \(c^*\) vectors
stored in rows.
Examples#
To convert from reciprocal lattice unit to Å\(^{-1}\) (\(xyz\)
Cartesian coordinate system) use: (Q_rlu is a row vector with 3
elements):
Q_xyz = Q_rlu * rlVect
Input Arguments#
objspinw object.
normIf
true, the basis vectors are normalized to 1. Default values isfalse, optional.
Output Arguments#
rlVecStores the three basis vectors in the rows of matrix with dimensions of \([3\times 3]\).