get_lnp_grid_vals

beast.tools.read_beast_data.get_lnp_grid_vals(sed_data, lnp_data, verbose=False)[source]

Acquire the SED parameter values for the locations where the lnp values were saved

Parameters:
  • sed_data (dictonary or string) – if dictionary: contains arrays of the beast parameters (output from read_sed_data) if string: name of the file with the BEAST physicsmodel grid, which will be used in read_sed_data to get default parameters

  • lnp_data (dictonary or string) – if dictionary: contains arrays of the lnp values and indices to the BEAST model grid (output from read_lnp_data) if string: name of the file with the sparse lnp values, which will be used in read_lnp_data with default parameters

Returns:

lnp_grid_vals – arrays of the SED grid parameters for the points in the lnp lists

Return type:

dictonary