moble / spherical_functions

Python/numba package for evaluating Wigner D matrices and spin-weighted spherical harmonics
MIT License
52 stars 11 forks source link

Fix sign of D matrix elements when Ra = 0 #19

Closed jarthurgross closed 4 years ago

jarthurgross commented 4 years ago

The final simplification in equation (3) of the "Wigner D matrices" page introduced an error by exchanging m' for m when the Kronecker delta indicates that m' should be exchanged for -m. This fixes the error and brings the documentation into agreement with the behavior of spherical_functions.Wigner_D_element.

moble commented 4 years ago

Thanks!