astrodynx.twobody.rp_islower_rmin#
- astrodynx.twobody.rp_islower_rmin(rmin, r, v, mu=1)[source]#
Returns True if the periapsis radius is lower than the minimum radius.
- Parameters:
- Return type:
- Returns:
True if the periapsis radius is lower than the minimum radius, False otherwise.
Examples
A simple example:
>>> import jax.numpy as jnp >>> import astrodynx as adx >>> rmin = 0.97 >>> r = jnp.array([1.0, 0.0, 0.0]) >>> v = jnp.array([0.0, 1.0, 0.0]) >>> adx.twobody.rp_islower_rmin(rmin, r, v) Array(False, dtype=bool)