xpsi-group / neost

Other
3 stars 2 forks source link

Improve flexibility of PosteriorAnalysis.compute_auxiliary_data() #55

Open svisak opened 1 month ago

svisak commented 1 month ago

The current implementation requires that the samples are contained in root_name + 'post_equal_weights.dat'. Two issues with this:

  1. It only works with Multinest, because the equivalent file in Ultranest is called equal_weighted_post.txt
  2. It's not so clear what "root_name" is.

I suggest we change this so that the function takes a path, an identifier for the run, and a string that's either post_equal_weights.dat or equal_weighted_post.txt.

svisak commented 1 month ago

Also the number of stars is hardcoded to 3. This we can easily fix.

svisak commented 1 month ago

Similar issues for PosteriorAnalysis.compute_table_data().