How to use the pyshtools.shclasses.SHCoeffs 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, omega=None, errors=None, lmax=None,
                 copy=False):

        self._coeffs = _SHCoeffs.from_array(coeffs, lmax=lmax, copy=copy)
        self.gm = gm
        self.r0 = r0
        self.omega = omega
        self.errors = errors

        if self.omega is not None:
            self.centrifugal = _Centrifugal(omega=self.omega)

pyshtools

SHTOOLS - Spherical Harmonic Tools

BSD-3-Clause
Latest version published 6 months ago

Package Health Score

72 / 100
Full package analysis

Similar packages