The source project of this merge request has been removed.
Some changes to the results file for reweighting and uses of reweighted results
All threads resolved!
All threads resolved!
Compare changes
+ 65
− 22
@@ -5,6 +5,7 @@ from copy import copy
@@ -113,10 +114,13 @@ def get_weights_for_reweighting(
@@ -124,9 +128,9 @@ def get_weights_for_reweighting(
@@ -155,7 +159,7 @@ def get_weights_for_reweighting(
@@ -179,7 +183,7 @@ def rejection_sample(posterior, weights):
@@ -198,11 +202,22 @@ def reweight(result, label=None, new_likelihood=None, new_prior=None,
@@ -210,29 +225,38 @@ def reweight(result, label=None, new_likelihood=None, new_prior=None,
@@ -1373,7 +1397,7 @@ class Result(object):
@@ -1382,6 +1406,10 @@ class Result(object):
@@ -1393,12 +1421,12 @@ class Result(object):
@@ -1408,6 +1436,11 @@ class Result(object):
@@ -1415,11 +1448,15 @@ class Result(object):
@@ -1849,7 +1886,7 @@ def plot_multiple(results, filename=None, labels=None, colours=None,
@@ -1873,6 +1910,8 @@ def make_pp_plot(results, filename=None, save=True, confidence_interval=[0.68, 0
@@ -1886,10 +1925,14 @@ def make_pp_plot(results, filename=None, save=True, confidence_interval=[0.68, 0