astrobase.services.limbdarkening module

Utilities to get stellar limb darkening coefficients for use during transit fitting.

astrobase.services.limbdarkening.get_tess_limb_darkening_guesses(teff, logg)[source]

Given Teff and log(g), query the Claret+2017 limb darkening coefficient grid. Return the nearest match.

TODO: interpolate instead of doing the nearest match. Nearest match is good to maybe only ~200 K and ~0.3 in log(g).

Parameters:
  • teff (float) – The stellar effective temperature to use.
  • logg (float) – The stellar log g value to use.
Returns:

(linear_coeff, quadratic_coeff) – Returns a tuple containing the linear and quadratic limb-darkening coefficients for the given effective temperature and log g.

Return type:

tuple