get_predicted_num_stars_simulate¶
- megabeast.helpers.get_predicted_num_stars_simulate(massmult_info, bphysparams, bphysmod, physmodage)[source]¶
Calculate the expected number of stars based on the physics model as given on the BEAST model grid including completeness.
- Parameters:
- massmult_infodict
“massmult” gives the value to muliply the SFH at each age and metallicity “ages” gives the ages and “Zs” gives the metallicities
- bphysparamsastropy.table
table giving the physical parameters, weights, and completeness on the BEAST physical grid
- bphysmodarray
probability of the physics model on the BEAST physics grid
- physmodagebeast.physicmodel.priormodel
physics model of for age
- Returns:
- n_starsfloat
number of stars expected