Dynamics Utilities
The utils module provides utility functions for dynamical systems analysis.
Energy Functions
The energy module provides energy and potential functions for the CR3BP.
_max_rel_energy_error()
The _max_rel_energy_error() function computes maximum relative deviation of Jacobi constant along trajectory.
crtbp_energy()
The crtbp_energy() function computes Hamiltonian energy of a state in the CR3BP.
effective_potential()
The effective_potential() function computes effective potential in the CR3BP rotating frame.
kinetic_energy()
The kinetic_energy() function computes kinetic energy of a state.
gravitational_potential()
The gravitational_potential() function computes gravitational potential energy of test particle.
hill_region()
The hill_region() function computes Hill region for zero-velocity surface analysis.
energy_to_jacobi()
The energy_to_jacobi() function converts Hamiltonian energy to Jacobi constant.
jacobi_to_energy()
The jacobi_to_energy() function converts Jacobi constant to Hamiltonian energy.
primary_distance()
The primary_distance() function computes distance from test particle to primary body.
secondary_distance()
The secondary_distance() function computes distance from test particle to secondary body.
pseudo_potential_at_point()
The pseudo_potential_at_point() function evaluates pseudo-potential Omega at a planar point.
Linear Algebra Functions
The linalg module provides linear algebra utilities for dynamical systems analysis.
eigenvalue_decomposition()
The eigenvalue_decomposition() function classifies eigenvalue-eigenvector pairs into stable, unstable, and center subspaces.
_stability_indices()
The _stability_indices() function computes Floquet stability indices for periodic orbit analysis.
Other Utility Functions
_zero_small_imag_part()
The _zero_small_imag_part() function removes small imaginary parts from complex numbers.
_remove_infinitesimals_in_place()
The _remove_infinitesimals_in_place() function removes numerical noise from complex vector components in-place.
_remove_infinitesimals_array()
The _remove_infinitesimals_array() function creates cleaned copy of vector with numerical noise removed.
_totime()
The _totime() function finds indices of closest time values in array.