meepmeep.numba2d.find_z_min

Contents

meepmeep.numba2d.find_z_min#

meepmeep.numba2d.find_z_min(tc: float, c: ndarray[tuple[Any, ...], dtype[_ScalarT]])[source]#

Locate the local minimum of the projected planet-star distance.

Uses golden-section search in a tight window around an initial guess. Operates in the centered coordinate system of c (times are offsets from the expansion point).

Parameters:
tcfloat

Initial guess for the minimum (offset from the expansion point).

cNDArray

A (2, 5) Taylor coefficient matrix.

Returns:
t_minfloat

Time of minimum projected distance.

z_minfloat

Projected distance at the minimum.