blackbody_params
¶
Module Contents¶
Classes¶
stellar_params class, to derive stellar parameters from a blackbody atmosphere |
Attributes¶
- class blackbody_params.bb_stellar_params(*args, **kwargs)[source]¶
Bases:
phitter.params.star_params.stellar_params_obj
stellar_params class, to derive stellar parameters from a blackbody atmosphere
- Parameters:
- ext_Ksfloat, default=2.63
Extinction of stellar parameters object in Ks band.
- distAstropy Quantity, length units, default=7.971e3*u.pc
Distance to object, specified during isochrone creation.
- filts_list[filter], default=[filters.nirc2_kp_filt(), filters.nirc2_h_filt()]
List of filters to compute synthetic photometry.
- ext_lawstr, default=’NL18’
Choice of extinction law to use when computing synthetic photometry. Default is ‘NL18’, corresponding to Nogueras-Lara+ 2018.
- calc_star_params(mass, rad, teff)[source]¶
Calculate stellar parameters from a blackbody, returned as a star_params object
- Parameters:
- massAstropy Quantity, unit:solMass
Stellar mass in solar masses
- radAstropy Quantity, unit:solRad
Stellar radius in solar radii
- teffAstropy Quantity, unit:K
Stellar effective temperature in Kelvin
- Returns:
- star_params
star_params object returned, with stellar parameters based on a blackbody atmosphere and input stellar parameters.