Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
IMAGINE
Commits
03b235bf
Commit
03b235bf
authored
Nov 06, 2017
by
Theo Steininger
Browse files
Added likelihood rescaler to Pipeline.
parent
f3c48059
Changes
1
Hide whitespace changes
Inline
Side-by-side
imagine/pipeline.py
View file @
03b235bf
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment