harmonic_leaver#
- spheroidal.leaver.harmonic_leaver(s, ell, m, g, num_terms=None, n_max=100)[source]#
Computes the spin-weighted spheroidal harmonic with spin-weight s, degree l, order m, and spheroidicity g using Leaver’s method.
- Parameters:
s (int or half-integer float) – spin weight
ell (int or half-integer float) – degree
m (int or half-integer float) – order
g (complex) – spheroidicity
num_terms (int) – number of terms in the expansion
n_max (int) – maximum number of terms in the expansion
- Returns:
spin-weighted spheroidal harmonic \({}_{s}S_{lm}(\theta,\phi)\)
- Return type:
function