def generate_plots_plot_uncertainty_sobol_total():
    data_file = "TestingModel1d.h5"

    plot = PlotUncertainty(folder=output_test_dir, verbose_level="error")

    plot.load(os.path.join(test_data_dir, data_file))

    plot.plot_all(sensitivity="sobol_total")
def generate_plots_plot_uncertainty_no_sensitivity():
    data_file = "TestingModel1d.h5"

    plot = PlotUncertainty(folder=output_test_dir,
                           logger_level="error")

    plot.load(os.path.join(test_data_dir, data_file))

    plot.plot_all(sensitivity=None)
def generate_plots_plot_uncertainty_single():
    data_file = "TestingModel1d_single-parameter-a.h5"

    plot = PlotUncertainty(folder=os.path.join(output_test_dir,
                                               "TestingModel1d_single-parameter-a"),
                           logger_level="error")

    plot.load(os.path.join(test_data_dir, data_file))

    plot.plot_all()

    data_file = "TestingModel1d_single-parameter-b.h5"

    plot = PlotUncertainty(folder=os.path.join(output_test_dir,
                                               "TestingModel1d_single-parameter-b"),
                           logger_level="error")

    plot.load(os.path.join(test_data_dir, data_file))

    plot.plot_all()