def plot_results(stats, filename): import myplotting as myplt myplt.corner_plot(stats['likelihoods_reshaped'], plot_grids=stats['param_grids'], labels=stats['param_names'], filename='/d/bip3/ezbc/shield/figures/' + filename, logscale=True, )
def plot_results(stats, filename): import myplotting as myplt myplt.corner_plot( stats['likelihoods_reshaped'], plot_grids=stats['param_grids'], labels=stats['param_names'], filename='/d/bip3/ezbc/shield/figures/' + filename, logscale=True, )
def test_triangle_dist(): import numpy as np import myplotting as myplt dists = np.zeros((4, 5, 6)) dists[0, 1, 2] = 0.1 dists[1, 1, 2] = 0.1 dists[2, 1, 2] = 0.1 dists[3, 4, 4] = 0.1 dists[3, 3, 4] = 0.1 myplt.corner_plot(dists, filename='test_plots/test_corner_plot.png')
def test_triangle_dist(): import numpy as np import myplotting as myplt dists = np.zeros((4,5,6)) dists[0,1,2] = 0.1 dists[1,1,2] = 0.1 dists[2,1,2] = 0.1 dists[3,4,4] = 0.1 dists[3,3,4] = 0.1 myplt.corner_plot(dists, filename='test_plots/test_corner_plot.png')