nikolasibalic / ARC-Alkali-Rydberg-Calculator

Object-oriented Python library for computation of properties of highly-excited Rydbeg states of alkali and divalent atoms.
https://atomcalc.org
BSD 3-Clause "New" or "Revised" License
86 stars 72 forks source link

Wigner 6j for non-integer sum triads #158

Closed petermao closed 2 months ago

petermao commented 9 months ago

In PR #148, I had left the return value for non-integer sums as np.nan because I didn't know any better:

https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator/blob/36b86d1a43b3d24f93621ed669926b975494479c/arc/wigner.py#L270-L279

If Wolfram is right, the proper value to return is 0.

nikolasibalic commented 2 months ago

Released in ver 3.5.0