get_bayesian_data

zdm.analyze_cube.get_bayesian_data(lls: ndarray, plls: ndarray = None, pklfile=None)[source]

Method to perform simple Bayesian analysis on the Log-likelihood cube

Parameters:
  • lls (np.ndarray) – Log-likelood cube

  • plls (np.ndarray, optional) – Log-likelihood cube corrected for priors (e.g. alpha). Defaults to None.

  • pklfile (str, optional) – If given, write the output to this pickle file. Defaults to None.

Returns:

uvals,vectors,wvectors

lists of np.ndarray’s of LL analysis One item per parameter in the cube

Return type:

tuple