With ES5.2, the rotatecrystal
function passed the crystal orientation to a vector that could be fed into levelsplot
to calculate the Zeeman levels at that rotation.
In ES6 we create a 1x2 cell which contains the rotation angle and rotation axis vector. However, levelsplot
still needs an orientation vector for the magnetic field to run.
How can we get this?