meepmeep.numba3d.vel_od

Contents

meepmeep.numba3d.vel_od#

meepmeep.numba3d.vel_od(t, tpa, p, dt, ep_table, ep_times, coeffs, dcoeffs)[source]#

Planet (vx, vy, vz) velocity and orbital-parameter derivatives for any orbital phase.

Accepts a scalar time t or a 1-D array of times and dispatches to the scalar (_vel_osd()) or vector (vel_ovd()) kernel at compile time (inside @njit) or at call time (pure Python).

Parameters:
tfloat or ndarray

Time at which to evaluate the velocity and gradient.

tpa, p, dt, ep_table, ep_times, coeffs, dcoeffs

See pos_od().

Returns:
vx, vy, vzfloat or ndarray

Velocity components in \(R_\star/\mathrm{day}\). Arrays of shape (N,) for an array t.

dvx, dvy, dvzndarray

Gradients w.r.t. (tc, p, a, i, e, w, lan). Shape (7,) for a scalar t, (N, 7) for an array t.