isoc_interp_params

Module Contents

Classes

isoc_mist_stellar_params

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

Attributes

lambda_Ks

dlambda_Ks

ks_filt_info

v_filt_info

flux_ref_Ks

flux_ref_V

kp_filt

h_filt

atm_funcs

mist_phase_dict

isoc_interp_params.lambda_Ks[source]
isoc_interp_params.dlambda_Ks[source]
isoc_interp_params.ks_filt_info[source]
isoc_interp_params.v_filt_info[source]
isoc_interp_params.flux_ref_Ks[source]
isoc_interp_params.flux_ref_V[source]
isoc_interp_params.kp_filt[source]
isoc_interp_params.h_filt[source]
isoc_interp_params.atm_funcs[source]
isoc_interp_params.mist_phase_dict[source]
class isoc_interp_params.isoc_mist_stellar_params(age=4000000.0, met=0.0, use_atm_func='merged', phase=None, *args, **kwargs)[source]

Bases: phitter.params.star_params.stellar_params_obj

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

Parameters:
agefloat, default=4e6

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

metfloat, default=0.0
ext_Ksfloat, 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).

interp_star_params_mass_init(mass_init)[source]

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

Parameters:
mass_initfloat

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

Returns:
star_params

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

interp_star_params_rad(rad)[source]

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

Parameters:
radfloat

Stellar radius as float, in units of solar radii.

Returns:
star_params

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

interp_star_params_mass(mass)[source]

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

Parameters:
massfloat

Stellar mass as float, in units of solar masses.

Returns:
star_params

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

_flip_isochrone()[source]

Flip isochrone parameter lists, if needed for interpolation