compute_age_mass_metallicity_weights

beast.physicsmodel.grid_and_prior_weights.compute_age_mass_metallicity_weights(_tgrid, indxs, age_prior_model={'name': 'flat'}, mass_prior_model={'name': 'kroupa'}, met_prior_model={'name': 'flat'}, **kwargs)[source]

Computes the age-mass-metallicity grid and prior weights on the BEAST model spectra grid Grid and prior weight columns updated by multiplying by the age-mass-metallicity weight.

Parameters:
  • _tgrid (SpectralGrid) – BEAST models spectral grid

  • age_prior_model (dict) – dict including prior model name and parameters

  • mass_prior_model (dict) – dict including prior model name and parameters

  • met_prior_model (dict) – dict including prior model name and parameters