How to use the pyshtools.shclasses.SHGravCoeffs function in pyshtools

To help you get started, we’ve selected a few pyshtools examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ioshchepkov / pygeoid / pygeoid / sharm / ggm.py View on Github external
def __init__(self, coeffs, gm, r0, errors=None, ell=None, omega=None):

        if ell is not None:
            self._ell = ell
        else:
            self._ell = _LevelEllipsoid()

        if omega is None:
            omega = self._ell.omega

        self._coeffs = _SHGravCoeffs.from_array(coeffs=coeffs, gm=gm, r0=r0,
                                                errors=errors, omega=omega, copy=True)

pyshtools

SHTOOLS - Spherical Harmonic Tools

BSD-3-Clause
Latest version published 6 months ago

Package Health Score

72 / 100
Full package analysis

Similar packages