CONAN._classes.load_result.plot_posterior

CONAN._classes.load_result.plot_posterior#

CONAN._classes.load_result.plot_posterior(par, thin=1, discard=0, bins=20, density=True, range=None, q=[0.0015, 0.16, 0.5, 0.85, 0.9985], multiply_by=1, add_value=0, return_values=False)#

Plot the posterior distribution of a single input parameter, par. if return_values = True, the summary statistic for the parameter is also returned as an output.

Parameters:
  • par (str;) – parameter posterior to plot

  • thin (int;) – thin samples by factor of ‘thin’

  • discard (int;) – to discard first couple of steps within the chains.

Returns:

  • fig (figure object)

  • result (tuple of len 3;) – summary statistic for the parameter, par, in the order [median, -1sigma, +1sigma]