webbpsf_ext.spectra.mass_sensitivity_table
- webbpsf_ext.spectra.mass_sensitivity_table(filt, dist=10, extrapolate=True, lfile=None, age_arr=None, save=True, save_dir=None, return_tbl=False, **kwargs)[source]
Generate a table of mass sensitivities for a given filter
Interpolate mass and brightnesses of BEX evolutionary tracks. Creates a table with first column of magnitudes, second column is log10(Jy), and subsequent columns are log10(Mass) for each age in Myr.
- Parameters:
filt (str) – Name of filter
dist (float) – Distance in parsecs
extrapolate (bool) – If True, extrapolate to higher masses using COND models as well as lower masses using a lower order polynomial fit.
lfile (str) – Filename of Linder evolutionary tracks. If None, then use BEX_evol_mags_-3_MH_0.00.dat (warm start HELIOS grid).
age_arr (array_like) – Array of ages in Myr. If None, then defualts to [1,2,…,20] Myr.
save (bool) – Save table to file.
save_dir (str) – Directory to save table. If None, then save to current directory.
return_tbl (bool) – Return astropy table object