astro.LunarGravity#
- class hohmannpy.astro.LunarGravity(initial_true_anomaly, legendre=True, legendre_series_length=10)#
Perturbation caused by the Moon’s gravity.
This class implements a specialized version of
ThirdBodyGravityadjusted to specifically account for the third body perturbations due to the Earth’s moon.- Parameters:
legendre (bool) – Whether to use a Legendre polynomial expansion in the computation of the Moon’s perturbing effects. Used to avoid small difference numerical accuracy losses from the difference between the two position cubics due to their potential similarities.
legendre_series_length (int) – If a Legendre polynomial expansion is used, how many terms to include.
Notes
The following assumptions are made for this implementation:
The Moon’s orbit is Keplerian.
See also
ThirdBodyGravityBase version of this class which can be used for any third body.