CONAN._classes.load_lightcurves.get_LDs

CONAN._classes.load_lightcurves.get_LDs#

CONAN._classes.load_lightcurves.get_LDs(Teff, logg, Z, filter_names, unc_mult=10, fixed_unc=None, use_result=False, verbose=True)#

get Kipping quadratic limb darkening parameters (q1,q2) using ldtk (requires internet connection).

Parameters:
  • Teff (tuple) – (value, std) of stellar effective temperature

  • logg (tuple) – (value, std) of stellar logg

  • Z (tuple) – (value, std) of stellar metallicity

  • filter_names (list of str) – SVO filter name such as ‘Spitzer/IRAC.I1’ or a name shortcut such as “TESS”, “CHEOPS”,”kepler”. use lc_obj._filter_shortcuts to get list of filter shortcut names. Filter names can be obtained from http://svo2.cab.inta-csic.es/theory/fps/

  • unc_mult (int/float, optional) – value by which to multiply ldtk uncertainties which are usually underestimated, by default 10

  • fixed_unc (float/list, optional) – fixed uncertainty value to use for each filter, by default None and unc_mult is used

  • use_result (bool, optional) – whether to use the result to setup limb darkening priors, by default True

Returns:

q1, q2 – each coefficient is an array of only values (no uncertainity) for each filter. These can be fed to the limb_darkening() function to fix the coefficients

Return type:

arrays

Examples

# get limb darkening coefficients for TESS and CHEOPS filters

>>> q1, q2 = lc_obj.get_LDs(Teff        = (5777,100),
>>>                         logg        = (4.44,0.1),
>>>                         Z           = (0,0.1),
>>>                         filter_names= ["TESS","CHEOPS"] )
>>> lc_obj.limb_darkening(q1=q1, q2=q2)