Commit 03b235bf authored by Theo Steininger's avatar Theo Steininger

Added likelihood rescaler to Pipeline.

parent f3c48059
......@@ -46,6 +46,7 @@ class Pipeline(Loggable, object):
self.prior = prior
self.active_variables = active_variables
self.ensemble_size = ensemble_size
self.likelihood_rescaler = 1.
# setting defaults for pymultinest
self.pymultinest_parameters = {'verbose': True,
......@@ -199,7 +200,7 @@ class Pipeline(Loggable, object):
total_likelihood=total_likelihood)
self.sample_callback(sample)
return total_likelihood
return total_likelihood * self.likelihood_rescaler
def __call__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment