jesterTOV.inference.postprocessing.postprocessing.generate_all_plots

jesterTOV.inference.postprocessing.postprocessing.generate_all_plots#

generate_all_plots(
outdir,
prior_dir=None,
make_cornerplot_flag=True,
make_massradius_flag=True,
make_masslambda_flag=True,
make_pressuredensity_flag=True,
make_histograms_flag=True,
make_cs2_flag=True,
make_contours_flag=False,
injection_eos_path=None,
plot_format='pdf',
)[source]#

Generate selected plots for the specified output directory.

Parameters:
  • outdir (str) – Output directory containing results.h5.

  • prior_dir (str, optional) – Directory containing prior samples for comparison.

  • make_cornerplot_flag (bool, optional) – Generate cornerplot of EOS parameters, by default True.

  • make_massradius_flag (bool, optional) – Generate mass-radius plot, by default True.

  • make_masslambda_flag (bool, optional) – Generate mass-Lambda plot, by default True.

  • make_pressuredensity_flag (bool, optional) – Generate pressure-density plot, by default True.

  • make_histograms_flag (bool, optional) – Generate parameter histograms, by default True.

  • make_cs2_flag (bool, optional) – Generate cs2-density plot, by default True.

  • make_contours_flag (bool, optional) – Generate radii and pressure credible-interval contour plots, by default False.

  • injection_eos_path (str, optional) – Path to NPZ file containing injection EOS data, by default None.

  • plot_format (str, optional) – Output file format for all plots ("pdf" or "png"), by default "pdf".

Return type:

None