harmonic_spectral_deriv#

spheroidal.spectral.harmonic_spectral_deriv(s, ell, m, g, num_terms=None, n_max=100)[source]#

Computes the derivative with respect to theta of 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

Returns:

derivative of the spin-weighted spheroidal harmonic \(\frac{d}{d\theta}\left({}_{s}S_{lm}(\theta,\phi)\right)\)

Return type:

function