Skip to content
Snippets Groups Projects
Commit 095ecdd1 authored by Gregory Ashton's avatar Gregory Ashton
Browse files

Adds logging output of the MCMC input

parent 3835b619
No related branches found
No related tags found
No related merge requests found
...@@ -542,6 +542,16 @@ class MCMCSearch(BaseSearchClass): ...@@ -542,6 +542,16 @@ class MCMCSearch(BaseSearchClass):
os.rename(self.pickle_path, self.pickle_path+".old") 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.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): def inititate_search_object(self):
logging.info('Setting up search object') logging.info('Setting up search object')
...@@ -1222,6 +1232,7 @@ class MCMCGlitchSearch(MCMCSearch): ...@@ -1222,6 +1232,7 @@ class MCMCGlitchSearch(MCMCSearch):
os.rename(self.pickle_path, self.pickle_path+".old") 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.old_data_is_okay_to_use = self.check_old_data_is_okay_to_use()
self.log_input()
def inititate_search_object(self): def inititate_search_object(self):
logging.info('Setting up search object') logging.info('Setting up search object')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment