code: def reset(self):
          
  
          # sampling
          self.it = 1
          self.batch = 0
          self.ncall = 0
          self.bound = []
          self.eff = 1.
          self.base = False
  
          # results
          self.saved_id = []
          self.saved_u = []
          self.saved_v = []
          self.saved_logl = []
          self.saved_logvol = []
          self.saved_logwt = []
          self.saved_logz = []
          self.saved_logzvar = []
          self.saved_h = []
          self.saved_nc = []
          self.saved_boundidx = []
          self.saved_it = []
          self.saved_n = []
          self.saved_bounditer = []
          self.saved_scale = []
          self.saved_batch = []
          self.saved_batch_nlive = []
          self.saved_batch_bounds = []
  
          # results from our base run
          self.base_id = []
          self.base_u = []
          self.base_v = []
          self.base_logl = []
          self.base_logvol = []
          self.base_logwt = []
          self.base_logz = []
          self.base_logzvar = []
          self.base_h = []
          self.base_nc = []
          self.base_boundidx = []
          self.base_it = []
          self.base_n = []
          self.base_bounditer = []
          self.base_scale = []
  
          # results from our most recent addition
          self.new_id = []
          self.new_u = []
          self.new_v = []
          self.new_logl = []
          self.new_nc = []
          self.new_it = []
          self.new_n = []
          self.new_boundidx = []
          self.new_bounditer = []
          self.new_scale = []
          self.new_logl_min, self.new_logl_max = -np.inf, np.inf
docs: Re-initialize the sampler.