Skip to main content

Python/numba implementation of Wigner D Matrices, spin-weighted spherical harmonics, and associated functions

Project description

Python/numba package for evaluating and transforming Wigner’s 𝔇 matrices, Wigner’s 3-j symbols, and spin-weighted (and scalar) spherical harmonics. These functions are evaluated directly in terms of quaternions, as well as in the more standard forms of spherical coordinates and Euler angles.(*)

https://github.com/moble/spherical_functions/blob/master/README.md

(*) Euler angles are pretty much the worst things ever, and it makes me feel bad even supporting them. Quaternions are faster, more accurate, basically free of singularities, more intuitive, and generally easier to understand. You can work entirely without Euler angles (I certainly do). You absolutely never need them. But if you’re so old fashioned that you really can’t give them up, they are fully supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page