meepmeep.numba3d.ep_ix#
- meepmeep.numba3d.ep_ix(t, tpa, p, dt, ep_table) int[source]#
Return the expansion-point index for a single time.
Epoch-folds
tinto one period and dispatches it to the appropriate expansion point viaep_table.- Parameters:
- t
float Time at which to look up the expansion point.
- tpa
float Periastron time anchoring the expansion-point grid. Note the convention difference: the high-level
OrbitAPI takes the transit-center time astcand converts it to periastron time before calling functions in this module (seeOrbit.__init__).- p
float Orbital period [days].
- dt
float Width of one
ep_tablebucket in fraction of the period.- ep_table
ndarrayofint Time-to-expansion-point lookup table built by
create_expansion_points().
- t
- Returns:
- ix
int Index into
coeffs/ep_timesfor the relevant expansion point.
- ix