harmonic_spectral#
- spheroidal.spectral.harmonic_spectral(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 the spherical expansion 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