wulfric.Atom.spin#

property

property Atom.spin: float#

Spin value of the atom.

To access the vector use Atom.spin_vector.

By default it is equal to \(0\).

Returns:
spinfloat

Spin value of the atom.

Raises:
ValueError

If spin is not defined for the atom.

Notes

Spin is connected with Atom.magmom, therefore it can change if the magnetic moment is changed.