lagrange_points_lunar_frame

ssapy.compute.lagrange_points_lunar_frame()[source][source]

Calculate the positions of the lunar Lagrange points in the lunar frame, This frame is defined by the coordinate transformation in utils.py gcrf_to_lunar().

Returns:

dict

A dictionary containing the coordinates of the five Lagrange points: - “L1”: Position of the first Lagrange point between the Earth and the Moon. - “L2”: Position of the second Lagrange point beyond the Moon. - “L3”: Position of the third Lagrange point directly opposite the Moon, relative to the Earth. - “L4”: Position of the fourth Lagrange point, forming an equilateral triangle with the Earth and Moon. - “L5”: Position of the fifth Lagrange point, forming an equilateral triangle with the Earth and Moon, but on the opposite side.

Notes:

  • The function assumes that the Earth and Moon are the two primary bodies, with the Earth-Moon distance denoted as LD.

  • The gravitational parameters of the Earth and Moon are denoted as EARTH_MU and MOON_MU, respectively.

  • The positions of L4 and L5 are calculated using the fact that these points form an equilateral triangle with the Earth and Moon.

Example usage:

>>> lagrange_points = lagrange_points_lunar_frame()
>>> lagrange_points["L1"]
array([1.01e6, 0.0, 0.0])
>>> lagrange_points["L4"]
array([1.5e6, 1.5e6, 0.0])