celeries.perham.LazyPerHam#
- class celeries.perham.LazyPerHam(degree, km_max, spatial=True)#
Lazy version (stores the results for re-use) of
PerHam.- 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.
indirect(k)Indirect part of the Hamiltonian with coefficients k for the mean longitudes.