satellite_mean_motion#

cysgp4.satellite_mean_motion(double alt_km, double mu_km3_s2=kMU, double r_earth_km=kXKMPER) double#

Mean motion of satellite at altitude in Earth’s gravitational field.

See https://en.wikipedia.org/wiki/Mean_motion#Formulae

Note the parameters are such that they fit to the WGS72 definition.

Parameters:
alt_kmfloat

Satellite altitude above Earth’s surface.

mu_km3_s2float, optional (default: 398600.8)

Nominal Earth mass parameter [km^3 / s^2].

r_earth_kmfloat, optional (default: 6378.135)

Earth’s radius [km].

Returns:
mean_motiondouble

Mean motion of satellite in revolutions per day [1 / day].

Examples

An example text file with TLE strings is included in cysgp4 and can be parsed like this:

>>> import cysgp4

>>> mean_motion = cysgp4.satellite_mean_motion(500.)
>>> mean_motion
15.219378350934464