destripe_harmonics

  • Filters spherical harmonic coefficients for correlated “striping” errors following Swenson and Wahr [64]

Calling Sequence

from gravity_toolkit.destripe_harmonics import destripe_harmonics
Ylms = destripe_harmonics(clm,slm,LMAX=60)

Source code

gravity_toolkit.destripe_harmonics(clm1, slm1, LMIN=2, LMAX=60, MMAX=None, ROUND=True, NARROW=False)[source]

Filters spherical harmonic coefficients for correlated striping errors [64]

Parameters:
clm1: np.ndarray

cosine spherical harmonic coefficients

slm1: np.ndarray

sine spherical harmonic coefficients

LMIN: int, default 2

Lower bound of Spherical Harmonic Degrees

LMAX: int, default 60

Upper bound of Spherical Harmonic Degrees

MMAX: int or NoneType, default None

Upper bound of Spherical Harmonic Orders

ROUND: bool, default True

use round to find nearest even

NARROW: bool, default True

set harmonics to 0 if less than window size

Returns:
clm: np.ndarray

filtered cosine spherical harmonic coefficients

slm: np.ndarray

filtered sine spherical harmonic coefficients