fujiisoup / py3nj

Wigner's 3J, 6J, 9J symbols for python
https://py3nj.readthedocs.io/
Apache License 2.0
19 stars 5 forks source link

3j symbols differ compared to sympy #5

Closed mersennez closed 4 years ago

mersennez commented 4 years ago

w3j(l,1,l+1,0,0,0) = 0; in sympy value is not zero (which is correct)

fujiisoup commented 4 years ago

py3nj.wigner3j requires integer arguments multiplied by 2.

If you want to copute w3j(l,1,l+1,0,0,0), you need py3nj.wigner3j(2*l, 2, 2*l + 2, 0, 0, 0).

mersennez commented 4 years ago

Ok, thanks!