meepmeep.numba3d.cos_alpha_o#
- meepmeep.numba3d.cos_alpha_o(t, tpa, p, dt, ep_table, ep_times, coeffs)[source]#
Cosine of the phase angle for any orbital phase.
Accepts a scalar time
tor a 1-D array of times and dispatches to the scalar (_cos_alpha_os()) or vector (cos_alpha_ov()) kernel at compile time (inside@njit) or at call time (pure Python).The phase angle \(\alpha\) is the star-planet-observer angle. With z positive toward the observer, \(\cos\alpha = -z/r\) where \(r = \sqrt{x^2 + y^2 + z^2}\). At superior conjunction (full phase, planet behind star) \(\cos\alpha = +1\); at inferior conjunction (new phase, planet in front) \(\cos\alpha = -1\).