meepmeep.numba3d.zvel_o

Contents

meepmeep.numba3d.zvel_o#

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

Planet z-velocity (line-of-sight component) for any orbital phase.

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

Cheaper than vel_o() when only the line-of-sight component is needed (e.g. for radial velocity).

Parameters:
tfloat or ndarray

Time(s) at which to evaluate the z-velocity.

tpa, p, dt, ep_table, ep_times, coeffs

See pos_o().

Returns:
vzfloat or ndarray

Line-of-sight velocity [\(R_\star/\mathrm{day}\)]. Arrays of shape (N,) for an array t.