get_err_from_posterior

breads.utils.get_err_from_posterior(x, posterior)[source]

Return the mode, and the left and right errors of a distribution. The errors are defined with a 68% confidence level.

Parameters:
xSampling of the 1D posterior
posteriorPosterior array
Returns:
Mode, left error, right error