Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
bilby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
26
Issues
26
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
12
Merge Requests
12
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
bilby
Commits
345a906b
Commit
345a906b
authored
May 30, 2018
by
Moritz Huebner
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
6ca5572b
cac92a5e
Pipeline
#20676
failed with stages
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tupak/sampler.py
tupak/sampler.py
+4
-0
No files found.
tupak/sampler.py
View file @
345a906b
...
...
@@ -6,6 +6,7 @@ import os
import
sys
import
numpy
as
np
import
matplotlib.pyplot
as
plt
import
time
from
.result
import
Result
,
read_in_result
from
.prior
import
Prior
,
fill_priors
...
...
@@ -151,7 +152,10 @@ class Sampler(object):
except
AttributeError
as
e
:
logging
.
warning
(
'Cannot sample from {}, {}'
.
format
(
key
,
e
))
try
:
t1
=
time
.
time
()
self
.
likelihood
.
log_likelihood
()
logging
.
info
(
"Single likelihood eval. took {} s"
.
format
(
time
.
time
()
-
t1
))
except
TypeError
as
e
:
raise
TypeError
(
"Likelihood evaluation failed with message:
\n
'{}'
\n
"
...
...
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