epraya.JMsmi#
- JMsmi(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 (jax.np.array) – Quantum numbers of the spin operator.
nl (jax.np.array) – Quantum numbers of the nuclear spin operator.
ll (jax.np.array) – Quantum numbers of the angular momentum operator
Example
>>> import epraya as epr >>> Ham, _, _ = epr.Jstart() >>> Ham.S=1 >>> Ham.I=1 >>> Ham.L=0 >>> print(epr.JMsmi(Ham.I,Ham.S,Ham.L)) (Array([ 1., 1., 1., 0., 0., 0., -1., -1., -1.], dtype=float32), Array([ 1., 0., -1., 1., 0., -1., 1., 0., -1.], dtype=float32), Array([0., 0., 0., 0., 0., 0., 0., 0., 0.], dtype=float32))