meepmeep.numba3d.star_planet_distance_od#
- meepmeep.numba3d.star_planet_distance_od(t, tpa, p, dt, ep_table, ep_times, coeffs, dcoeffs)[source]#
3D star-planet distance and orbital-parameter derivatives.
Accepts a scalar time
tor a 1-D array of times and dispatches to the scalar (_star_planet_distance_osd()) or vector (star_planet_distance_ovd()) kernel at compile time (inside@njit) or at call time (pure Python).Returns \(r = \sqrt{x^2 + y^2 + z^2}\) and \(\partial r/\partial \theta_k = (x\,\partial x/\partial \theta_k + y\,\partial y/\partial \theta_k + z\,\partial z/\partial \theta_k)/r\).
- Parameters:
- Returns: