jesterTOV.inference.postprocessing.postprocessing.make_pressure_density_plot

jesterTOV.inference.postprocessing.postprocessing.make_pressure_density_plot#

make_pressure_density_plot(
data,
prior_data,
outdir,
use_crest_cmap=True,
injection_data=None,
plot_format='pdf',
)[source]#

Create an equation-of-state plot (pressure vs density).

Parameters:
  • data (dict) – EOS data dictionary.

  • prior_data (dict or None) – Prior EOS data for background comparison.

  • outdir (str) – Output directory.

  • use_crest_cmap (bool, optional) – Use the seaborn crest colourmap, by default True.

  • injection_data (dict or None, optional) – Injection EOS data for plotting the true values, by default None.

Return type:

None