jaxoplanet.core.limb_dark
=========================

.. py:module:: jaxoplanet.core.limb_dark

.. autoapi-nested-parse::

   This module provides the functions needed to compute a limb darkened light curve as
   described by `Agol et al. (2020) <https://arxiv.org/abs/1908.03222>`_.



Functions
---------

.. autoapisummary::

   jaxoplanet.core.limb_dark.light_curve


Module Contents
---------------

.. py:function:: light_curve(u: jaxoplanet.types.Array, b: jaxoplanet.types.Array, r: jaxoplanet.types.Array, *, order: int = 10)

   Compute the light curve for arbitrary polynomial limb darkening

   See `Agol et al. (2020) <https://arxiv.org/abs/1908.03222>`_ for more technical
   details. Unlike in that paper, here we don't evaluate all the solution vector
   integrals in closed form. Instead, for all but the lowest order terms, we numerically
   integrate the relevant 1D line integral using Gauss-Legendre quadrature at fixed
   order ``order``.


   :param u: The coefficients of the polynomial limb darkening model
   :type u: Array
   :param b: The center-to-center distance between the occultor and the occulted
             body
   :type b: Array
   :param r: The radius ratio between the occultor and the occulted body
   :type r: Array
   :param order: The quadrature order to use when numerically computing the the 1D
                 line integral
   :type order: int


