compute_metallicity_prior_weights¶
-
beast.physicsmodel.prior_weights_stars.compute_metallicity_prior_weights(mets, met_prior_model)[source]¶ Computes the metallicity prior for the specified model
- Parameters
- metsnumpy vector
metallicities
- met_prior_model: dict
dict including prior model name and parameters
- Returns
- metallicity_weightsnumpy vector
weights to provide the requested prior model