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
Gregory Ashton
PyFstat
Commits
095ecdd1
Commit
095ecdd1
authored
Sep 29, 2016
by
Gregory Ashton
Browse files
Adds logging output of the MCMC input
parent
3835b619
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyfstat.py
View file @
095ecdd1
...
...
@@ -542,6 +542,16 @@ class MCMCSearch(BaseSearchClass):
os
.
rename
(
self
.
pickle_path
,
self
.
pickle_path
+
".old"
)
self
.
old_data_is_okay_to_use
=
self
.
check_old_data_is_okay_to_use
()
self
.
log_input
()
def
log_input
(
self
):
logging
.
info
(
'Input prior dictionary: {}'
.
format
(
self
.
theta_prior
))
logging
.
info
(
'nwalkers={}'
.
format
(
self
.
nwalkers
))
logging
.
info
(
'scatter_val={}'
.
format
(
self
.
scatter_val
))
logging
.
info
(
'nsteps={}'
.
format
(
self
.
nsteps
))
logging
.
info
(
'ntemps={}'
.
format
(
self
.
ntemps
))
logging
.
info
(
'log10temperature_min={}'
.
format
(
self
.
log10temperature_min
))
def
inititate_search_object
(
self
):
logging
.
info
(
'Setting up search object'
)
...
...
@@ -1222,6 +1232,7 @@ class MCMCGlitchSearch(MCMCSearch):
os
.
rename
(
self
.
pickle_path
,
self
.
pickle_path
+
".old"
)
self
.
old_data_is_okay_to_use
=
self
.
check_old_data_is_okay_to_use
()
self
.
log_input
()
def
inititate_search_object
(
self
):
logging
.
info
(
'Setting up search object'
)
...
...
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