pytmosph3r.observations.limbdarkening
Module Contents
- class LimbDarkening(method=None, coeffs=None)[source]
Bases:
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.
- Parameters:
method (str, optional) – Method (among linear,quadratic,power2,nonlinear,uniform). Defaults to uniform (no limb darkening).
coeffs (list, optional) – List of coefficients c1, c2, c3, c4 (depends on the method). Defaults to None.
- factor_dict
- compute(dist_star, method=None, coeffs=None)[source]
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.
- Parameters:
dist_star (array) – Distance to star center normalized over the star radius (center = 0, edge = 1).
method (str, optional) – Method to be used (see
factor_dict
). Defaults to None.
- Returns:
Darkening coefficient (0 at star center).
- Return type:
array
- LD