Esempio n. 1
0
 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)
Esempio n. 2
0
 def samplings(self):
     return pertest(self).samplings()
 def plotonlies(self):
     return pertest(self).plotonlies()
 def samplings(self):
     """sample this using information defined for each run of MCMC"""
     return pertest(self).samplings()