CONAN._classes.load_result.plot_corner#
- CONAN._classes.load_result.plot_corner(pars=None, bins=20, thin=1, discard=0, q=[0.16, 0.5, 0.84], range=None, show_titles=True, title_fmt='.3f', titlesize=14, labelsize=20, multiply_by=1, add_value=0, func=None, force_plot=False, kwargs={})#
Corner plot of selected parameters.
- Parameters:
pars (list of str;) – parameter names to plot. Ideally less than 15 pars for clarity of plot
bins (int;) – number of bins in 1d histogram
thin (int;) – factor by which to thin the chains in order to reduce correlation.
discard (int;) – to discard first couple of steps within the chains.
q (list of floats;) – quantiles to show on the 1d histograms. defaults correspoind to +/-1 sigma
range (iterable (same length as pars);) – A list where each element is either a length 2 tuple containing lower and upper bounds or a float in range (0., 1.) giving the fraction of samples to include in bounds, e.g., [(0.,10.), (1.,5), 0.999, etc.]. If a fraction, the bounds are chosen to be equal-tailed.
show_titles (bool;) – whether to show titles for 1d histograms
title_fmt (str;) – format string for the quantiles given in titles. Default is “.3f” for 3 decimal places.
titlesize (int;) – size of the titles in the plot.
labelsize (int;) – size of the labels in the plot.
multiply_by (float or list of floats;) – factor by which to multiply the chains. Default is 1. If list, must be same length as pars.
add_value (float or list of floats;) – value to add to the chains. Default is 0. If list, must be same length as pars.
func (dict of functions;) – dictionary containing par:function pairs to apply the function to the chains of the parameter par before plotting. e.g. func = {lambda x: x*1e6} Default is None.