orbitx.utils._tle.get_argument_perigee

orbitx.utils._tle.get_argument_perigee#

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

Finds the argument of the perigee in degrees from the second line of the TLE. The the argument of the perigee corresponds to the characters 35 to 42 of the second line.

Parameters:

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

Returns:

The argument of the perigee

Return type:

float

Example

line2 = "2 25544  51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537"
arg_perigee = get_argument_perigee(line2)
print(arg_perigee)
130.536