parse_tle

ssapy.io.parse_tle(tle)[source][source]

Parse a TLE returning Kozai mean orbital elements.

Parameters:

tle (2-tuple of str) – Line1 and Line2 of TLE as strings

Returns:

  • a (float) – Kozai mean semi-major axis in meters

  • e (float) – Kozai mean eccentricity

  • i (float) – Kozai mean inclination in radians

  • pa (float) – Kozai mean periapsis argument in radians

  • raan (float) – Kozai mean right ascension of the ascending node in radians

  • trueAnomaly (float) – Kozai mean true anomaly in radians

  • t (float) – GPS seconds; i.e., seconds since 1980-01-06 00:00:00 UTC

Notes

Dynamic TLE terms, including the drag coefficient and ballistic coefficient, are ignored in this function.