SGP4¶
-
class
sorts.propagator.pysgp4.
SGP4
(settings=None, **kwargs)[source]¶ Bases:
sorts.propagator.base.Propagator
Propagator class implementing the SGP4 propagator.
Frame options are found in the sorts.frames.convert function.
- Variables
- Parameters
in_frame (str) – String identifying the input frame.
out_frame (str) – String identifying the output frame.
Methods
TEME_to_TLE
(state, epoch[, B, kepler, tol, …])Convert osculating orbital elements in TEME to mean elements used in two line element sets (TLE’s).
TEME_to_TLE_OPTIM
(state, epoch[, B, kepler, …])Convert osculating orbital elements in TEME to mean elements used in two line element sets (TLE’s).
__init__
([settings])Initialize self.
convert_time
(t, epoch)Convert input time and epoch variables to
astropy.TimeDelta
andastropy.Time
variables of the correct format and scale.get_TLE_parameters
(line1, line2[, gravity_model])get_mean_elements
(line1, line2[, radians])Extract the mean elements in SI units (a [m], e [1], inc [deg], raan [deg], aop [deg], mu [deg]), B-parameter (not bstar) and epoch from a two line element pair.
heartbeat
(t, state, **kwargs)Function applied after propagation to time t and state state, before next time step as given in the input time vector to propagate.
propagate
(t, state0[, epoch])Propagate a state
propagate_mean_elements
(jd0, jd_f, …)Propagate sgp4 mean elements.
propagate_tle
(t, line1, line2, **kwargs)Propagate a TLE pair
set
(**kwargs)Attributes