コード例 #1
0
ファイル: inmcmc.py プロジェクト: mjvakili/prob-z
 def get_last_state(self):
     iterno = self.key.load_iterno(self.topdir)
     print('getting state:' + str(self.key))
     state = self.key.add(r = iterno).load_state(self.topdir)
     if state is not None:
         print ('state restored at: {}/{} runs', state.runs, self.key.r)
         return state
     return pertest(self)
コード例 #2
0
ファイル: inmcmc.py プロジェクト: mjvakili/prob-z
 def samplings(self):
     return pertest(self).samplings()
コード例 #3
0
 def plotonlies(self):
     return pertest(self).plotonlies()
コード例 #4
0
 def samplings(self):
     """sample this using information defined for each run of MCMC"""
     return pertest(self).samplings()