satlas.utilities.plotting.generate_correlation_plot

satlas.utilities.plotting.generate_correlation_plot(filename, filter=None, bins=None, selection=(0, 100))[source]

Given the random walk data, creates a triangle plot: distribution of a single parameter on the diagonal axes, 2D contour plots with 1, 2 and 3 sigma contours on the off-diagonal. The 1-sigma limits based on the percentile method are also indicated, as well as added to the title.

Parameters:
  • filename (string) – Filename for the h5 file containing the data from the walk.
  • filter (list of str, optional) – If supplied, only this list of columns is used for the plot.
  • bins (int or list of int, optional) – If supplied, use this number of bins for the plotting.
Returns:

Returns the MatPlotLib figure created.

Return type:

figure