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]
[8]
[9]
[10]
[11]
[12]
[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]
[15]
[16]
J. Stoer and R. Bulirsch. Introduction to Numerical Analysis. No. 12 of Texts in Applied Mathematics (Springer New York, 2002). ↩1
[17]
[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]
J. J. Sakurai. Modern Quantum Mechanics. Revised Edition (Addison Wesley, New York, 1994). ↩1 ↩2 ↩3
[20]
[21]
[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]
[28]
J. M. Lee. Introduction to Smooth Manifolds. Vol. 218 of Graduate Texts in Mathematics (Springer, New York, NY, 2012). ↩1
[29]
[30]
[31]
[32]
[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]
[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]
[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 at https://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]
[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]
[59]
[60]
Strakhov. On synthesis of the outer gravitational potential in spherical harmonic series. Doklady Akademii nauk SSSR 254, 839–841 (1980). ↩1
[61]
[62]
[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]
[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]
[70]
[71]
[72]
[73]
[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).