orbitx.utils._tle.get_inclination

orbitx.utils._tle.get_inclination#

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

Finds the inclination of the satellite from the second line of the TLE. The inclination corresponds to the characters nine to 16 of the second line.

Parameters:

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

Returns:

The inclination of the satellite

Return type:

float

Example

line2 = "2 25544  51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537"
inclination = get_inclination(line2)
print(inclination)
51.6416