Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow different gravity model when parsing TLEs #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 8, 2016

  1. Allow different gravity model when parsing TLEs

    Implements an optional fourth parameter to `KeplerianElements.from_tle()` to enable using a different gravity model than the default `wgs72` one. Accepts any `namedtuple` with the same entries as the gravity models provided by SGP4. 
    
    Example usage: 
    
    ```
    from sgp4.earth_gravity import wgs84
    # ... other imports and definitions, incl. line1, line2, and earth ...
    ke = KeplerianElements.from_tle(line1, line2, earth, gravity_model=wgs84)
    ```
    fbender authored Sep 8, 2016
    Configuration menu
    Copy the full SHA
    800c38e View commit details
    Browse the repository at this point in the history