CONAN.occultquad_numba

Contents

CONAN.occultquad_numba#

Numba-accelerated Mandel & Agol (2002) occultquad implementation.

This module provides a drop-in style function occultquad_numba that computes the same quadratic limb-darkened transit/occultation light curve as OccultQuadPy.occultquad, but with the main loop JIT-compiled using Numba for a substantial speed-up.

The formulas follow the Python translation in occultquad_pya.py, which itself is based on the original Fortran routines by Mandel & Agol (2002).

Functions#

_ellec_numba(k)

Complete elliptic integral of 2nd kind (Hastings approx).

_ellk_numba(k)

Complete elliptic integral of 1st kind (Hastings approx).

_occultquad_kernel(z0, u1, u2, p[, nz])

Numba kernel implementing OccultQuadPy.occultquad logic.

_rc_numba(x, y)

RC elliptic integral (Numba version of OccultQuadPy.rc).

_rf_numba(x, y, z)

Legendre form incomplete elliptic integral RF (Numba version).

_rj_numba(x, y, z, p)

RJ elliptic integral (Numba version of OccultQuadPy.rj).

occultquad_numba(z0, u1, u2, p[, nz])

Public wrapper for the Numba-accelerated occultquad.