celeries.perham.PerHam#
- class celeries.perham.PerHam(degree, km_max, spatial=True)#
Perturbative part of the 3 body Hamiltonian using the general method described in Laskar & Robutel (1995) and the Robutel & Pousse (2013) method for the coorbital case.
This implementation was inspired by the TRIP macros fperpla.t (J. Laskar) - 15/03/2011.
- Parameters:
- degreeint
Degree of the development.
- km_maxint
Maximum value of \(|k_1|+|k_2|\) that will be required when computing direct terms \(k_1 \lambda_1 + k_2 \lambda_2\) by calling the
direct()method (this is used for Laplace coefficients recurrence relations). Set km_max=-1 to avoid using recurrence relations.- spatialbool
Whether to consider the 3D or the co-planar only case.
Methods
Direct part of the coorbital Hamiltonian using the method of Robutel & Pousse (2013).
Indirect part of the coorbital Hamiltonian using the method of Robutel & Pousse (2013).
direct(k)Direct part of the Hamiltonian with coefficients k for the mean longitudes, using the method of Laskar & Robutel (1995).
indirect(k)Indirect part of the Hamiltonian with coefficients k for the mean longitudes, using the method of Laskar & Robutel (1995).