meepmeep.numba3d.zvel

Contents

meepmeep.numba3d.zvel#

meepmeep.numba3d.zvel(time: float | ndarray[tuple[Any, ...], dtype[_ScalarT]], tc: float, p: float, c: ndarray[tuple[Any, ...], dtype[_ScalarT]], te: float = 0.0) float | ndarray[tuple[Any, ...], dtype[_ScalarT]][source]#

Evaluate the planet’s line-of-sight velocity component at an absolute time.

Direct counterpart of zvel_c: accepts an absolute observation time time, folds it back into a single orbital epoch around the expansion point te, and delegates to the centered kernel.

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

Parameters:
timefloat or NDArray

Absolute observation time(s) in the same units as tc and p.

tcfloat

Transit-centre time (time of inferior conjunction), on the same time axis as time.

pfloat

Orbital period, used for epoch folding.

cNDArray

A (3, 5) coefficient matrix produced by solve3d. Only row 2 (the z-direction coefficients) is read.

tefloat, optional

Expansion-point offset from the transit centre [days] - the same value that was passed to solve3d. Defaults to 0.0, the expansion point at the transit centre.

Returns:
vzfloat or NDArray

Line-of-sight z velocity in stellar radii per unit time. Positive values indicate motion toward the observer.