meepmeep.numba3d.zpos#
- meepmeep.numba3d.zpos(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 z position at an absolute time.
Folds the absolute observation time back to an expansion-point-centered offset 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:
- time
floatorNDArray Absolute observation time(s).
- tc
float Transit-centre time (time of inferior conjunction), on the same time axis as time.
- p
float Orbital period.
- c
NDArray A (3, 5) coefficient matrix produced by solve3d.
- te
float, 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.
- time
- Returns:
- pz
floatorNDArray Line-of-sight z position in units of stellar radii. Positive values point toward the observer; negative values point away. The sign distinguishes the transit (positive z) and eclipse (negative z) branches of the orbit.
- pz