unpack_pop_ii_data#
- silmaril.galaxy.unpack_pop_ii_data(path: str, lum_scaling=1e-05, lum_link='../particle_data/luminosity_look_up_tables/l1500_inst_e.txt', table_column_idx=1, return_ids=False, return_z=False)#
Depends on the lookup table function. given path or link, gives you look up table luminosities and cleans them up sample: https://www.stsci.edu/science/starburst99/data/l1500_inst_e.dat :param path: path to file :param lum_scaling: scaling factor for luminosity, see stsci tables :param lum_link: link to the lookup table, can be file path or url to csv
- Returns:
star_positions – (x,y,z) positions of stars
scaled_stellar_lums – corresponding stellar luminosities
masses – masses in M_sun
ages
t_myr – current time in Myr