Function adas.wig3j
def wig3j(j1, j2, j3, m1, m2, m3)
-
Evaluates the Wigner 3j symbol.
Parameters
j1
,j2
,j3
,m1
,m2
,m3
:float
- j and m angular-momentum quantum numbers
Returns
w3j
:float
- Wigner 3j
Notes
Calls a fortran based shared object file - not pure python.
The j and m inputs should be integer or half-integer but this is not enforced.
This routine is made available to avoid a dependence on the sympy, or similar, library. Use that library for an extensive set of Wigner, Racah and Clebsch-Gordan coefficients.
References
Version History
- Martin O'Mullane, 20-08-2022
- First version
Example
Wigner-3j: (2, 6, 4) = sqrt(715)/143 = 0.18698939 (0, 0, 0)
>>> import adas as adas >>> adas.wig3j(2, 6, 4, 0, 0, 0) 0.18698939800169143