ssapy_toolkit.Compute.mengos
Functions
|
Calculate the MEGNO (Mean Exponential Growth of Nearby Orbits) value for a set of orbital states. |
- ssapy_toolkit.Compute.mengos.megno(r: ndarray) float[source]
Calculate the MEGNO (Mean Exponential Growth of Nearby Orbits) value for a set of orbital states.
The MEGNO is a measure of the chaos in the orbital evolution. It quantifies the exponential divergence of nearby trajectories over time, used to detect chaotic regions in orbital dynamics.
Parameters: - r: A 2D numpy array of shape (n_states, 3) representing the initial positions of the orbital states
in 3D space (x, y, z).
Returns: - A float representing the mean MEGNO value for the given orbital states.