orbitx.utils._tle.get_right_ascension

orbitx.utils._tle.get_right_ascension#

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

Finds the right ascension of the ascending node in the ECI reference frame measured from the vernal point from the second line of the TLE. The the right ascention corresponds to the characters 18 to 25 of the second line.

Parameters:

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

Returns:

The right ascension

Return type:

float

Example

line2 = "2 25544  51.6416 247.4627 0006703 130.5360 325.0288 15.72125391563537"
right_ascension = get_right_ascension(line2)
print(right_ascension)
247.4627