spinvec

Spin quantum number vector.

Syntax
vec = spinvec(System)
Description

This function extracts the quantum numbers of the spins constituting the spin system described by the structure System. It is a row vector of spin quantum numbers.

Examples

If we define a spin system ABC with

ABC = struct('S',1/2,'g',[2 2 2.3],'Nucs','63Cu,14N','A',[10 10 200;5 5 5]);
we can extract the spin quantum numbers with
spinvec(ABC)
ans =
    0.5000    1.5000    1.0000
See also

hsdim, sop