meepmeep.numba3d.vel_o

Contents

meepmeep.numba3d.vel_o#

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

Planet (vx, vy, vz) velocity for any orbital phase.

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

Parameters:
tfloat or ndarray

Time(s) at which to evaluate the velocity.

tpa, p, dt, ep_table, ep_times, coeffs

See pos_o().

Returns:
vx, vy, vzfloat or ndarray

Velocity components in \(R_\star/\mathrm{day}\). vx, vy are the sky-plane components; vz is the line-of-sight component (positive toward the observer). Arrays of shape (N,) for an array t.