fourier_legendre
Computes Fourier coefficients of the associated Legendre functions
Calling Sequence
from gravity_toolkit.fourier_legendre import fourier_legendre
plm = fourier_legendre(lmax, mmax)
- gravity_toolkit.fourier_legendre(lmax, mmax)[source]
Computes Fourier coefficients of the associated Legendre functions
- Parameters:
- lmax: int
Upper bound of Spherical Harmonic Degrees
- mmax: int
Upper bound of Spherical Harmonic Orders
- Returns:
- plm: np.ndarray
Fourier coefficients
- gravity_toolkit.legendre_gradient(lmax, mmax)[source]
Calculates functions for evaluating the integral of a product of two fourier series
- Parameters:
- lmax: int
Upper bound of Spherical Harmonic Degrees
- mmax: int
Upper bound of Spherical Harmonic Orders
- Returns:
- vlm: np.ndarray
Fourier coefficients for meridional gradients
- wlm: np.ndarray
Fourier coefficients for zonal gradients