meepmeep.numba3d.rv_od

Contents

meepmeep.numba3d.rv_od#

meepmeep.numba3d.rv_od(t, k, tpa, p, a, i, e, dt, ep_table, ep_times, coeffs, dcoeffs)[source]#

Radial velocity and parameter derivatives.

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

Derivative ordering: (tc, p, a, i, e, w, lan, k) - length 8.

Parameters:
tfloat or ndarray

Time(s) at which to evaluate the radial velocity and gradient.

kfloat

Radial-velocity semi-amplitude [m s-1].

tpafloat

Periastron time anchoring the expansion-point grid (see _pos_osd()).

pfloat

Orbital period [days].

afloat

Scaled semi-major axis \(a/R_\star\).

ifloat

Inclination [radians].

efloat

Eccentricity.

dt, ep_table, ep_times, coeffs, dcoeffs

Multi-expansion-point dispatch arrays.

Returns:
rvfloat or ndarray

Radial velocity [m s-1]. Arrays of shape (N,) for an array t.

drvndarray

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