meepmeep.numba2d.sep_c#
- meepmeep.numba2d.sep_c(time: float | ndarray[tuple[Any, ...], dtype[_ScalarT]], c: ndarray[tuple[Any, ...], dtype[_ScalarT]]) float | ndarray[tuple[Any, ...], dtype[_ScalarT]][source]#
Evaluate the sky-projected planet-star separation in the units of stellar radii at an expansion-point-centered time.
Centered counterpart of sep: assumes time has already been shifted to be relative to the expansion point, evaluates the 2D position, and returns sqrt(x^2 + y^2).
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).