pyLIMA.stars module

Created on Thu March 03 12:51:19 2017

@author: ebachelet

class pyLIMA.stars.Star[source]

Bases: object

######## Star module ########

This class create a star object .

Attributes :

name : The name of the star. Default is ‘Random star’.

T_eff : The effective temperature in Kelvin. Default is 5000.

log_g : The log surface density. Default is 4.

metallicity : The star metallicity in solar unit. Default is 0.0.

mass : the mass in solar unit.

gammas : (Microlensing covention) List of limb darkening coefficient
\(\Gamma\) associated to all filters. The classical (Milne definition) linear limb darkening coefficient can be found using: u=(3*gamma)/(2+gamma). Default is an empty list.
define_claret_filter_tables()[source]

Define the filter_claret table. For more details, see ” Gravity and limb-darkening coefficients for the Kepler, CoRoT, Spitzer, uvby, UBVRIJHK, and Sloan photometric systems” Claret, A. and Bloemen, S. 2011A&A...529A..75C.

find_gamma(filter)[source]

Set the associated \(\Gamma\) linear limb-darkening coefficient associated to the filter.

Parameters:filter (str) – the observation filter. Need to match Claret definitions.
Returns:the (microlensing) gamma coefficient
Return type:float