tletools icon indicating copy to clipboard operation
tletools copied to clipboard

Add the original line1 and line2 to TLE/TLEu object?

Open oskarguan opened this issue 5 years ago • 0 comments

https://github.com/FedericoStra/tletools/blob/6ccf12aea705044fb4c780382739c1cf0ea45e6e/tletools/tle.py#L169

By adding the original line1 and line2 to TLE/TLEu object, users can use the original SGP4 predictor with sgp4 or orbit_predictor.

orbprop = orbit_predictor.sources.get_predictor_from_tle_lines(
    (tle_obj.line1, tle_obj.line2))`
for x in range(100):
    d = astropy.time.TimeDelta(x, format='sec')
    t = epoch + d
    print(t, orbprop_iridium106.propagate_eci(t.to_datetime()))

oskarguan avatar Feb 28 '20 08:02 oskarguan