meepmeep.numba2d.solve2d#
- meepmeep.numba2d.solve2d(te: float, p: float, a: float, i: float, e: float, w: float, lan: float = 0.0) ndarray[source]#
Calculate the Taylor expansion for the (x, y) position around a given expansion-point time relative to the transit centre.
- Parameters:
- te
float Expansion-point time: the time of the Taylor-series expansion [days], measured relative to the transit centre (time of inferior conjunction). te=0 expands at the transit centre.
- p
float Orbital period [days].
- a
float Semi-major axis of the orbit [R_star].
- i
float Inclination of the orbit [rad].
- e
float Eccentricity of the orbit.
- w
float Argument of periastron [rad].
- lan
float, optional Longitude of the ascending node [rad]. A constant counterclockwise rotation of the sky-plane (x, y) coordinates about the line of sight. Defaults to 0.0, which reproduces the un-rotated orientation.
- te
- Returns:
ndarrayA 2x5 coefficient matrix where each element is a pre-scaled coefficient for Taylor series expansion. Pre-scaling means that the coefficients are divided by 1, 1, 2, 6, and 24 to improve numerical speed.