degree_amplitude
Calculates the amplitude of each spherical harmonic degree
Calling Sequence
from gravity_toolkit.degree_amplitude import degree_amplitude
amp = degree_amplitude(clm,slm,LMAX=60)
- gravity_toolkit.degree_amplitude(clm, slm, LMAX=None, MMAX=None)[source]
Calculates the amplitude of each spherical harmonic degree
- Parameters:
- clm: np.ndarray
cosine spherical harmonic coefficients
- slm: np.ndarray
sine spherical harmonic coefficients
- LMAX: int or NoneType, default None
Upper bound of Spherical Harmonic Degrees
- MMAX: int or NoneType, default None
Upper bound of Spherical Harmonic Orders
- Returns:
- amp: np.ndarray
degree amplitude