meepmeep.numba3d.ev_signal_o

Contents

meepmeep.numba3d.ev_signal_o#

meepmeep.numba3d.ev_signal_o(alpha, mass_ratio, inc, t, tpa, p, dt, ep_table, ep_times, coeffs)[source]#

Ellipsoidal variation signal (Lillo-Box et al. 2014, Eqs. 6-10).

Returns the relative flux variation induced by the tidally distorted primary as a function of the orbital phase. The amplitude scales with the mass ratio, the projected-area factor \(\sin^2 i\), and the inverse cube of the instantaneous 3D separation.

Accepts a scalar time or a 1-D array of times and dispatches to the scalar (_ev_signal_os()) or vector (ev_signal_ov()) kernel at compile time (inside @njit) or at call time (pure Python). Time argument is the 4th positional.

Parameters:
alphafloat

Gravity-darkening coefficient (Lillo-Box et al. 2014, Eq. 7).

mass_ratiofloat

Planet-to-star mass ratio \(M_p / M_\star\).

incfloat

Orbital inclination [radians].

tfloat or ndarray

Time(s) at which to evaluate the signal.

tpa, p, dt, ep_table, ep_times, coeffs

See _pos_os().

Returns:
evfloat or ndarray

Relative flux variation due to ellipsoidal distortion. Arrays of shape (N,) for an array time argument.

Notes

Uses the identity \(\cos(2\arccos u) = 2u^2 - 1\) to skip a redundant arccos/cos pair.