get_likelihoods¶
- megabeast.helpers.get_likelihoods(ppdf_file, beast_model_data)[source]¶
Read in the saved BEAST sparse posterior PDFs and divide by the BEAST priors to get the spare liklilhoods.
- Parameters:
- ppdf_filestring
filename of the saved BEAST posterior PDFs
- Returns:
- lnp_datadictonary
contains arrays of the likelihood values (vals) and indices to the BEAST model grid (indxs)