lum_look_up_table#
- silmaril.galaxy.lum_look_up_table(stellar_ages: float, stellar_masses=10, table_link: str = '../starburst/l1500_inst_e.txt', column_idx: int = 1, log=False, m_gal=1000000.0)#
given stsci link and ages, returns likely (log) luminosities does this via residuals Here are some tables. https://www.stsci.edu/science/starburst99/docs/table-index.html Data File Format: Column 1 : Time [yr] Column 2 : Solid Line Column 3 : Long Dashed Line Column 4 : Short Dashed Line
M = 10^6 M_sun Mlow = 1 M_sun
Solid line: alpha = 2.35, Mup = 100 M
Long-dashed line: alpha = 3.30, Mup = 100 M
Short-dashed line: alpha = 2.35, Mup = 30 M
- Parameters:
stellar_ages (float) – ages fo the stars in years
table_link (str) – link, either URL or filepath to the table
column_idx (int) – column index to use for the tables
log (TYPE, optional) – return log10 luminosities? The default is False.
m_gal (TYPE, optional) – mass of the galaxy [Msun] from the starburst model. Default is 10^6 Msun
- Returns:
luminosities – returns the luminosity of the individual stars, default UV luminosity
- Return type:
array