Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IMAGINE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
IMAGINE
Commits
03b235bf
Commit
03b235bf
authored
Nov 06, 2017
by
Theo Steininger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added likelihood rescaler to Pipeline.
parent
f3c48059
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
imagine/pipeline.py
imagine/pipeline.py
+2
-1
No files found.
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