References
The most important routine in this package is the computation of the 𝔇 matrices — or more specifically, of terms proportional to parts of the 𝔇 matrices. This mostly follows the treatment of Gumerov and Duraiswami [7] (with minor modifications to account for errors in their presentation, as described here). To seed the recursions they present, we also need to calculate the associated Legendre functions. This is done using the "fully normalized column-wise recurrence formula" (fnCWF) given by Eqs. (12)—(14) of Xing et al. [59]. This improves significantly over the "modified forward row method" of Holmes and Featherstone [62], for which the results fail to be finite starting at ℓ=22 for Float16, ℓ=183 for Float32, and ℓ=1474 for Float64. Another approach, which is not implemented as such in this package, is due to Fukushima [63], who showed that using "X-numbers", wherein the exponent is stored as a separate integer, (implemented in this package) in the core of the recursion could increase the range to ℓ≈2³². Xing et al. showed that Fukushima's results exhibited increased error for certain angles, whereas their Eqs. (12)—(14) could be used directly to obtain results with greater accuracy for those certain angles, and comparable accuracy for other angles.
The other major functionality of this package is map2salm / salm2map, which decomposes function values on regular grids into mode weights (coefficients), and vice versa. The approach used here is taken from Reinecke and Seljebotn [8], with weights based on the method by Waldvogel [15]. These functions are front ends to the more general SSHT object, which implements several approaches, including the Reinecke-Seljebotn-Waldvogel method, as well as the optimal-dimensionality method due to Elahi et al. [9], as well as a new unpublished optimal-dimensionality method I (Mike Boyle) created.
Bibliography
- [1]
- [2]
- E. T. Whittaker. A Treatise on the Analytical Dynamics of Particles and Rigid Bodies. 4th Edition, Cambridge Mathematical Library (Cambridge University Press, Cambridge, 1947). ↩1 ↩2 ↩3
- [3]
- J. N. Goldberg, A. J. Macfarlane, E. T. Newman, F. Rohrlich and E. C. Sudarshan. Spin‐s Spherical Harmonics and ð. Journal of Mathematical Physics 8, 2155–2161 (1967). ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- [4]
- [5]
- R. Bott and L. W. Tu. Differential Forms in Algebraic Topology. Graduate Texts in Mathematics (Springer, New York, NY, 1982). ↩1
- [6]
- [7]
- N. A. Gumerov and R. Duraiswami. Recursive Computation of Spherical Harmonic Rotation Coefficients of Large Degree. In: Excursions in Harmonic Analysis, Volume 3 (Springer International Publishing, 2015); pp. 105–141, arXiv:1403.7698 [math.NA]. ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- [8]
- M. Reinecke and D. S. Seljebotn. Libsharp—spherical harmonic transforms revisited. Astronomy & Astrophysics 554, A112 (2013), arXiv:1303.4945 [physics.comp-ph]. ↩1 ↩2 ↩3 ↩4
- [9]
- U. Elahi, Z. Khalid, R. A. Kennedy and J. D. McEwen. An Optimal-Dimensionality Sampling for Spin-$s$ Functions on the Sphere. IEEE Signal Processing Letters 25, 1470–1474 (2018), arXiv:1809.01321 [astro-ph.IM]. ↩1 ↩2 ↩3 ↩4
- [10]
- E. B. Saff and A. B. Kuijlaars. Distributing many points on a sphere. The Mathematical Intelligencer 19, 5–11 (1997). ↩1
- [11]
- J. S. Brauchart and P. J. Grabner. Distributing many points on spheres: Minimal energy and designs. Journal of Complexity 31, 293–326 (2015). ↩1
- [12]
- J. R. Driscoll and D. M. Healy. Computing Fourier Transforms and Convolutions on the 2-Sphere. Advances in Applied Mathematics 15, 202–250 (1994). ↩1 ↩2
- [13]
- L. Bos, S. De Marchi, A. Sommariva and M. Vianello. Computing Multivariate Fekete and Leja Points by Numerical Linear Algebra. SIAM Journal on Numerical Analysis 48, 1984–1999 (2010). Accessed on Sep 23, 2026. ↩1
- [14]
- J. D. McEwen and Y. Wiaux. A Novel Sampling Theorem on the Sphere. IEEE Transactions on Signal Processing 59, 5876–5887 (2011), arXiv:1110.6298 [cs.IT]. ↩1 ↩2 ↩3
- [15]
- J. Waldvogel. Fast Construction of the Fejér and Clenshaw–Curtis Quadrature Rules. BIT Numerical Mathematics 46, 195–202 (2006). ↩1 ↩2 ↩3 ↩4
- [16]
- J. Stoer and R. Bulirsch. Introduction to Numerical Analysis. No. 12 of Texts in Applied Mathematics (Springer New York, 2002). ↩1
- [17]
- C. Doran and A. Lasenby. Geometric Algebra for Physicists (Cambridge University Press, Cambridge, 2003). ↩1
- [18]
- H. Sommer, I. Gilitschenski, M. Bloesch, S. Weiss, R. Siegwart and J. Nieto. Why and How to Avoid the Flipped Quaternion Multiplication (Jan 2018), arXiv:1801.07478 [cs.RO]. ↩1
- [19]
- [20]
- [21]
- A. R. Edmonds. Angular Momentum in Quantum Mechanics. 2nd Edition (Princeton University Press, 1960). ↩1 ↩2 ↩3
- [22]
- N. Zettili. Quantum Mechanics: Concepts and Applications. 2nd Edition (John Wiley & Sons, New York, NY, 2009). ↩1 ↩2
- [23]
- LIGO Scientific Collaboration, Virgo Collaboration and KAGRA Collaboration. LVK Algorithm Library - LALSuite. Free software (GPL) (2018). ↩1 ↩2 ↩3
- [24]
- E. U. Condon and G. H. Shortley. The Theory Of Atomic Spectra (Cambridge University Press, London, 1935). ↩1 ↩2
- [25]
- C. W. Ufford and G. H. Shortley. Atomic Eigenfunctions and Energies. Physical Review 42, 167–175 (1932). ↩1
- [26]
- P. Ajith, M. Boyle, D. A. Brown, S. Fairhurst, M. Hannam, I. Hinder, S. Husa, B. Krishnan, R. A. Mercer, F. Ohme, C. D. Ott, J. S. Read, L. Santamaria and J. T. Whelan. Data formats for numerical relativity waves (2007), arXiv:0709.0093 [gr-qc]. There was a serious error in the original version of this paper. The error was corrected in version 2. ↩1 ↩2 ↩3 ↩4
- [27]
- M. Bander and C. Itzykson. Group Theory and the Hydrogen Atom (I). Reviews of Modern Physics 38, 330–345 (1966). ↩1
- [28]
- J. M. Lee. Introduction to Smooth Manifolds. Vol. 218 of Graduate Texts in Mathematics (Springer, New York, NY, 2012). ↩1
- [29]
- [30]
- G. M. Vasil, D. Lecoanet, K. J. Burns, J. S. Oishi and B. P. Brown. Tensor calculus in spherical coordinates using Jacobi polynomials. Part-I: Mathematical analysis and derivations. Journal of Computational Physics: X 3, 100013 (2019). ↩1
- [31]
- L. Blanchet. Post-Newtonian theory for gravitational waves. Living Reviews in Relativity 27 (2024). ↩1 ↩2
- [32]
- W. K. Clifford. Applications of Grassmann's Extensive Algebra. American Journal of Mathematics 1, 350–358 (1878). ↩1
- [33]
- C. Cohen-Tannoudji, B. Diu and F. Laloe. Quantum Mechanics. 1st Edition (Wiley, New York, 1991). ↩1
- [34]
- L. Euler. Formulae generales pro translatione quacunque corporum rigidorum. Novi Commentarii Academiae Scientiarum Imperialis Petropolitanae 20, 189–207 (1776). Eneström Number: E478. ↩1 ↩2 ↩3
- [35]
- L. Euler. Nova methodus motum corporum rigidorum determinandi. Novi Commentarii Academiae Scientiarum Imperialis Petropolitanae 20, 208–238 (1776). Eneström Number: E479. ↩1
- [36]
- L. Euler. Du mouvement d'un corps solide quelconque lorsqu'il tourne autour d'un axe mobile. Histoire de l'Académie Royale des Sciences et des Belles-Lettres de Berlin 16, 176–227 (1767). Academy year 1760. Eneström Number: E336. Figures are on a separate plate facing page 228. ↩1 ↩2 ↩3
- [37]
- J. W. Gibbs. Elements of vector analysis : arranged for the use of students in physics (Tuttle, Morehouse & Taylor, New Haven, 1881). ↩1
- [38]
- D. J. Griffiths. Introduction to quantum mechanics. 1st Edition (Prentice Hall, Upper Saddle River, NJ, 1995). ↩1
- [39]
- [40]
- W. R. Hamilton. Lectures on quaternions : containing a systematic statement of a new mathematical method, of which the principles were communicated in 1843 to the Royal Irish academy, and which has since formed the subject of successive courses of lectures, delivered in 1848 and subsequent years, in the halls of Trinity college, Dublin (Hodges and Smith, Dublin, 1853). ↩1
- [41]
- [42]
- Wolfram Research. WignerD — Wolfram Language Documentation,
https://reference.wolfram.com/language/ref/WignerD.html(2026). Function introduced in Version 8.0 (2010); documentation accessed 2026-09-08. ↩1 ↩2 - [43]
- Wolfram Research. SphericalHarmonicY — Wolfram Language Documentation,
https://reference.wolfram.com/language/ref/SphericalHarmonicY.html(2026). Function introduced in Version 1.0 (1988); documentation accessed 2026-09-08. ↩1 - [44]
- Wolfram Research. LegendreP — Wolfram Language Documentation,
https://reference.wolfram.com/language/ref/LegendreP.html(2026). Documentation accessed 2026-09-08. ↩1 - [45]
- NIST Digital Library of Mathematical Functions,
https://dlmf.nist.gov/, Release 1.2.7 of 2026-06-15. F. W. J. Olver, A. B. Olde Daalhuis, D. W. Lozier, B. I. Schneider, R. F. Boisvert, C. W. Clark, B. R. Miller, B. V. Saunders, H. S. Cohl, and M. A. McClain, eds. ↩1 - [46]
- SciPy Developers. SciPy: fundamental algorithms for scientific computing in Python, version 1.18.1,
https://scipy.org/(2026). Version 1.18.1 released 2026-08-21; documentation accessed 2026-09-08. ↩1 - [47]
- R. Shankar. Principles of Quantum Mechanics. 2nd Edition (Plenum Press, New York, 1994). ↩1
- [48]
- SymPy Development Team. SymPy: Python library for symbolic mathematics, version 1.14.0,
https://www.sympy.org/; source athttps://github.com/sympy/sympy/tree/sympy-1.14.0(2025). Version 1.14.0 released 2025-04-27; source accessed 2026-09-08. ↩1 - [49]
- P. G. Tait. An elementary treatise on quaternions (Oxford, Clarendon Press, 1867). ↩1
- [50]
- P. G. Tait. On the Rotation of a Rigid Body about a Fixed Point. Transactions of the Royal Society of Edinburgh 25 (1868). Also found in "Scientific Papers by Peter Guthrie Tait", Vol. I. ↩1
- [51]
- K. S. Thorne. Multipole expansions of gravitational radiation. Reviews of Modern Physics 52, 299 (1980). ↩1
- [52]
- G. F. Torres Del Castillo. 3-D Spinors, Spin-Weighted Functions and their Applications (Birkhäuser, Boston, MA, 2003). ↩1
- [53]
- D. A. Varshalovich, A. N. Moskalev and V. K. Khersonskiĭ. Quantum theory of angular momentum: Irreducible tensors, spherical harmonics, vector coupling coefficients, 3nj symbols (World Scientific Pub, Singapore ; Teaneck, NJ, USA, 1988). ↩1 ↩2 ↩3 ↩4
- [54]
- Wikipedia contributors. Wigner D-matrix,
https://en.wikipedia.org/wiki/Wigner_D-matrix, Wikipedia, The Free Encyclopedia (2026). Page last edited 2026-05-04; accessed 2026-09-08. ↩1 ↩2 - [55]
- Wikipedia contributors. Spin-weighted spherical harmonics,
https://en.wikipedia.org/wiki/Spin-weighted_spherical_harmonics, Wikipedia, The Free Encyclopedia (2026). Page last edited 2026-02-09; accessed 2026-09-08. ↩1 ↩2 - [56]
- Wikipedia contributors. Spherical harmonics,
https://en.wikipedia.org/wiki/Spherical_harmonics, Wikipedia, The Free Encyclopedia (2026). Accessed 2026-09-08. ↩1 ↩2 - [57]
- Wikipedia contributors. Euler angles,
https://en.wikipedia.org/wiki/Euler_angles, Wikipedia, The Free Encyclopedia (2026). Accessed 2026-09-08. ↩1 ↩2 - [58]
- E. B. Wilson. Vector Analysis : A Text-Book for the Use of Students of Mathematics & Physics: Founded Upon the Lectures of J. W. Gibbs (Yale University Press, New Haven, 1901). ↩1
- [59]
- Z. Xing, S. Li, M. Tian, D. Fan and C. Zhang. Numerical experiments on column-wise recurrence formula to compute fully normalized associated Legendre functions of ultra-high degree and order. Journal of Geodesy 94 (2019). ↩1 ↩2
- [60]
- Strakhov. On synthesis of the outer gravitational potential in spherical harmonic series. Doklady Akademii nauk SSSR 254, 839–841 (1980). ↩1
- [61]
- [62]
- S. A. Holmes and W. E. Featherstone. A unified approach to the Clenshaw summation and the recursive computation of very high degree and order normalised associated Legendre functions. Journal of Geodesy 76, 279–299 (2002). ↩1
- [63]
- [64]
- S. Belkner, A. J. Duivenvoorden, J. Carron, N. Schaeffer and M. Reinecke, $\texttt{cunuSHT}$: GPU Accelerated Spherical Harmonic Transforms on Arbitrary Pixelizations (Jun 2024).
- [65]
- P. B. Davenport. Rotations about nonorthogonal axes. AIAA Journal 11, 853–857 (1973).
- [66]
- G. B. Folland. A Course in Abstract Harmonic Analysis. 2nd Edition (Chapman and Hall/CRC, New York, 2016).
- [67]
- W. Fulton and J. Harris. Representation Theory. Vol. 129 of Graduate Texts in Mathematics (Springer, New York, NY, 2004).
- [68]
- N. A. Gumerov and R. Duraiswami. Fast, Exact, and Stable Computation of Multipole Translation and Rotation Coefficients for the 3-D Helmholtz Equation. Technical Report UMIACS TR 2001-44 (University of Maryland, College Park, MD, 2001).
- [69]
- N. A. Gumerov and R. Duraiswami. Recursions for the Computation of Multipole Translation and Rotation Coefficients for the 3-D Helmholtz Equation. SIAM Journal on Scientific Computing 25, 1344–1381 (2004).
- [70]
- G. W. Hanson and A. B. Yakovlev. Operator Theory for Electromagnetics (Springer, New York, NY, 2002).
- [71]
- [72]
- P. J. Kostelec and D. N. Rockmore. FFTs on the Rotation Group. Journal of Fourier Analysis and Applications 14, 145–179 (2008).
- [73]
- M. A. Price and J. D. McEwen. Differentiable and accelerated spherical harmonic and Wigner transforms. Journal of Computational Physics 510, 113109 (2024).
- [74]
- [75]
- P. G. Tait. Scientific Papers by Peter Guthrie Tait. Vol. 1 (Cambridge University Press, 1898).
- [76]
- J. van Neerven. Functional Analysis. Cambridge Studies in Advanced Mathematics (Cambridge University Press, Cambridge, 2022).