phitter.params.isoc_interp_params#

Module Contents#

Classes#

isoc_mist_stellar_params

stellar_params class, to derive stellar parameters from a MIST isochrone.

Data#

API#

phitter.params.isoc_interp_params.lambda_Ks = None#
phitter.params.isoc_interp_params.dlambda_Ks = None#
phitter.params.isoc_interp_params.ks_filt_info = 'get_filter_info(...)'#
phitter.params.isoc_interp_params.v_filt_info = 'get_filter_info(...)'#
phitter.params.isoc_interp_params.flux_ref_Ks = None#
phitter.params.isoc_interp_params.flux_ref_V = None#
phitter.params.isoc_interp_params.kp_filt = 'nirc2_kp_filt(...)'#
phitter.params.isoc_interp_params.h_filt = 'nirc2_h_filt(...)'#
phitter.params.isoc_interp_params.atm_funcs = None#
phitter.params.isoc_interp_params.mist_phase_dict = None#
class phitter.params.isoc_interp_params.isoc_mist_stellar_params(age=4000000.0, met=0.0, use_atm_func='merged', phase=None, *args, **kwargs)#

Bases: phitter.params.star_params.stellar_params_obj

stellar_params class, to derive stellar parameters from a MIST isochrone.

agefloat, default=4e6

Age of the isochrone, specified in years. Default: 4e6 (4 Myr old).

met : float, default=0.0 ext_Ks : float, default=2.63

Extinction of stellar parameters object in Ks band. Used for calculating synthetic photometry.

distAstropy Quantity, length units, default=7.971e3*u.pc

Distance to the isochrone, used for calculating synthetic photometry.

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.

use_atm_funcstr, default=’merged’

Atmospheric function to use for calculating synthetic photometry. Options are ‘merged’ for merged atmospheres from SPISEA, ‘castelli’ for Castelli & Kurucz (2004) atmospheres, or ‘phoenix’ for Phoenix v16 (Husser et al., 2013) atmospheres.

phasestr, default=None

If specified, only select stars from a specific stellar evolution phase. Options are ‘PMS’, ‘MS’, ‘RGB’, ‘CHeB’, ‘EAGB’, ‘TPAGB’, ‘postAGB’, or ‘WR’. If phase is None, then all stellar evolution phases are included. Default: None (all stellar evolution phases).

Initialization

interp_star_params_mass_init(mass_init)#

Interpolate stellar parameters from the isochrone, given an initial mass for the star.

mass_initfloat

Initial stellar mass as float, in units of solar masses.

star_params

star_params object returned, with stellar parameters interpolated from the MIST isochrone.

interp_star_params_rad(rad)#

Interpolate stellar parameters from the isochrone, given a radius for the star.

radfloat

Stellar radius as float, in units of solar radii.

star_params

star_params object returned, with stellar parameters interpolated from the MIST isochrone.

interp_star_params_teff(teff)#

Interpolate stellar parameters from the isochrone, given a T_eff for the star.

tefffloat

Stellar T_eff as float, in units of Kelvin.

star_params

star_params object returned, with stellar parameters interpolated from the MIST isochrone.

interp_star_params_mass(mass)#

Interpolate stellar parameters from the isochrone, given a mass for the star.

massfloat

Stellar mass as float, in units of solar masses.

star_params

star_params object returned, with stellar parameters interpolated from the MIST isochrone.

_flip_isochrone()#

Flip isochrone parameter lists, if needed for interpolation