meepmeep.numba3d.sep_o

Contents

meepmeep.numba3d.sep_o#

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

Sky-projected planet-star separation for any orbital phase.

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

Returns \(\sqrt{x^2 + y^2}\) in units of the stellar radius - the quantity transit light-curve models consume directly.

Parameters:
tfloat or ndarray

Time(s) at which to evaluate the separation.

tpa, p, dt, ep_table, ep_times, coeffs

See pos_o().

Returns:
sepfloat or ndarray

Sky-projected separation [stellar radii], always non-negative. Arrays of shape (N,) for an array t.