radtools.Atom.spin_vector#

property

property Atom.spin_vector#

Classical spin vector of the atom.

\[\vec{S} = (S_x, S_y, S_z), \vert \vec{S}\vert = S\]
Returns:
spin_vector(3,) numpy.ndarray

Classical spin vector of the atom.

Raises:
ValueError

If spin or spin_direction() is not defined for the atom.