lunar_lagrange_points
- ssapy.compute.lunar_lagrange_points(t)[source][source]
Calculate the positions of the lunar Lagrange points in the GCRF frame at a given time.
This function computes the positions of the five Lagrange points (L1, L2, L3, L4, and L5) in the Earth-Moon system at a specific time t. It considers the positions of the Earth and Moon and uses the orbital period of the Moon to find the Lagrange points.
Parameters:
- tTime
The time at which to calculate the Lagrange points. The position of the Moon at this time is used to compute the Lagrange points.
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, calculated as the Moon’s position offset by one-sixth of the lunar period. - “L5”: Position of the fifth Lagrange point, calculated as the Moon’s position offset by negative one-sixth of the lunar period.
Notes:
The function assumes a circular orbit for the Moon.
The lunar period used is approximately 2.36 million seconds.
The gravitational parameters of the Earth and Moon are denoted as EARTH_MU and MOON_MU, respectively.
Example usage:
>>> t = Time("2024-01-01") >>> lagrange_points = lunar_lagrange_points(t) >>> lagrange_points["L1"] array([1.02e6, 0.0, 0.0]) >>> lagrange_points["L4"] array([1.5e6, 1.5e6, 0.0])