leaver_coefficients#
- spheroidal.leaver.leaver_coefficients(s, ell, m, g, num_terms=None, n_max=100)[source]#
Computes the coefficients of the Frobenius expansion in equation 18 of (Leaver, 1985)
- 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) – spheroicity
num_terms (int, optional) – number of coefficients to compute, automatic by default
n_max (int, optional) – maximum number of coefficients to compute, defaults to 100
- Returns:
normalized array of coefficients
- Return type:
numpy.ndarray