epraya.PMsmi#

PMsmi(I, S, L=0)#

Determinates the quantum numbers for the spin, nuclear spin and angular momentum.

Parameters:
  • I (float) – Nuclear spin operator value.

  • S (float) – Spin operator value.

  • L (float) – Angular momentum operator value.

Returns:

  • sl (np.array) – Quantum numbers of the spin operator.

  • nl (np.array) – Quantum numbers of the nuclear spin operator.

  • ll (np.array) – Quantum numbers of the angular momentum operator

Example

>>> import epraya as epr
>>> Ham, _, _ = epr.Start()
>>> Ham.S=1
>>> Ham.I=1
>>> Ham.L=0
>>> print(epr.PMsmi(Ham.I,Ham.S,Ham.L))
(array([ 1.,  1.,  1.,  0.,  0.,  0., -1., -1., -1.]),
array([ 1.,  0., -1.,  1.,  0., -1.,  1.,  0., -1.]),
array([0., 0., 0., 0., 0., 0., 0., 0., 0.]))