arbitrary growth directions
Add support for arbitrary growth direction, e.g. wire grown in [110] or [111] direction.
Idea from Daniel: make user provide how crystallographic axes looks in new system axis, aka rotation matrix R
and use scipy.spatial.transform to get rotation vector n
.
Then rotation matrix R
can be used to transform momentum operators, as well as magnetic and electric field, and scipy.linalg.expm(1j * np.dot(n, S_total))
will be used as unitary basis transformation for spin components.