orbitx.utils._tle.get_mean_motion

orbitx.utils._tle.get_mean_motion#

orbitx.utils._tle.get_mean_motion(line2: str) float[source]#

Finds the mean motion in revolutions per day from the second line of the TLE. The the mean motion corresponds to the characters 53 to 63 of the second line.

Parameters:

line2 (str) – The second line of the considered TLE

Returns:

The mean motion

Return type:

float

Example

line2 = "2 25544  51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537"
mean_motion = get_mean_motion(line2)
print(mean_motion)
15.72125391