:py:mod:`pytmosph3r.observations.limbdarkening` =============================================== .. py:module:: pytmosph3r.observations.limbdarkening Module Contents --------------- .. py:function:: ld_uniform(x, c) .. py:function:: ld_linear(x, c) .. py:function:: ld_quadratic(x, c) .. py:function:: ld_power2(x, c) .. py:function:: ld_nonlinear(x, c) .. py:class:: LimbDarkening(method=None, coeffs=None) Bases: :py:obj:`pytmosph3r.log.Logger` BEWARE: Work In Progress. Contributions are welcome. Module handling multiple limb darkening methods (linear,quadratic,power2,nonlinear,uniform). Parameters for the limb darkening method. :param method: Method (among linear,quadratic,power2,nonlinear,uniform). Defaults to uniform (no limb darkening). :type method: str, optional :param coeffs: List of coefficients c1, c2, c3, c4 (depends on the method). Defaults to None. :type coeffs: list, optional .. py:attribute:: factor_dict .. py:method:: get_func(method=None, coeffs=None) .. py:method:: compute(dist_star, method=None, coeffs=None) Function that parses which method should be used and return the corresponding darkening over an array of (normalized) distance to the center of the star. :param dist_star: Distance to star center normalized over the star radius (center = 0, edge = 1). :type dist_star: array :param method: Method to be used (see :attr:`factor_dict`). Defaults to None. :type method: str, optional :returns: Darkening coefficient (0 at star center). :rtype: array .. py:data:: LD