precompute_mass_multipliers¶
- megabeast.helpers.precompute_mass_multipliers(bphysparams, physmodmass)[source]¶
Calculate the value to mulitply the SFR to get the total mass in stars at all ages and masses given the physics model on the BEAST model grid.
- Parameters:
- bphysparamsastropy.table
table giving the physical parameters, weights, and completeness on the BEAST physical grid
- physmodmassbeast.physicmodel.priormodel
physics model of for initial mass
- Returns:
- sfhmassinfodict
“massmult” gives the value to muliply the SFH at each age and metallicity “ages” gives the ages and “Zs” gives the metallicities