epraya.Msmi#

Msmi(I, S, L=0)#

Determinates the quantum numbers of the operators and classify the transitions between energy levels.

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

  • S (float) – Spin operator value.

  • L (float) – Angular momentum operator value.

Returns:

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

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

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

  • transitions (dictionary) – Possible transitions of the system, cataloged by type.

Example

>>> import epraya as epr
>>> Ham, _, _ = epr.Start()
>>> Ham.S=1
>>> Ham.I=1
>>> Ham.L=0
>>> print(epr.Msmi(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.]),
{'allowed': array([[0, 3], [1, 4], [2, 5], [3, 6], [4, 7],
   [5, 8]]),
'for Dms2': array([[0, 6], [1, 7], [2, 8]]),
'for nuclear': array([[0, 4], [0, 5], [1, 3], [1, 5],
   [2, 3], [2, 4], [3, 7], [3, 8], [4, 6],
   [4, 8], [5, 6], [5, 7]]),
'semi for L': array([], dtype=float64)})