meepmeep.numba3d.zvel_od

Contents

meepmeep.numba3d.zvel_od#

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

Planet z-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 (_zvel_osd()) or vector (zvel_ovd()) kernel at compile time (inside @njit) or at call time (pure Python).

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

Parameters:
tfloat or ndarray

Time at which to evaluate the z-velocity and gradient.

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

See pos_od().

Returns:
vzfloat or ndarray

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

dvzndarray

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