gauss_weights

  • Computes the Gaussian weights as a function of degree

  • A normalized version of Christopher Jekeli’s Gaussian averaging function

Calling Sequence

from gravity_toolkit.gauss_weights import gauss_weights
wl = 2.0*np.pi*gauss_weights(hw,LMAX)

Source code

gravity_toolkit.gauss_weights(hw, LMAX, CUTOFF=1e-10)[source]

Computes the Gaussian weights as a function of degree using a normalized form of [33]

Parameters:
hw: float

Gaussian smoothing radius in kilometers

LMAX: int

Maximum degree of spherical harmonic coefficients

CUTOFF: float, default 1e-10

minimum value for tail of Gaussian averaging function

Returns:
wl: np.ndarray

degree dependent weighting function