fit_ensemble

megabeast.singlepop_dust_model.fit_ensemble(megabeast_model, star_lnpgriddata, beast_moddata)[source]

Run the MegaBEAST on a single set of BEAST results.

Parameters:
megabeast_modelclass

MegaBEAST physical model including priors

star_lnpgriddata: dictonary

contains arrays of the likelihood*grid_weight values and indexs to the BEAST model grid

beast_moddata: dictonary

contains arrays of the beast parameters for the full beast physics grid

Returns:
fit_resultsarray

set of best fit parameters