class_docstr: Step sampler on a sampling path.
docstr: Start sampler, reset all counters.
docstr_tok: ["Start","sampler",",","reset","all","counters","."]
code: def start(self):
      """Start sampler, reset all counters."""
      if (
          hasattr(self, "naccepts")
          and self.nrejects + self.naccepts > 0
      ):
          self.logstat.append(
              [
                  self.naccepts / (self.nrejects + self.naccepts),
                  self.nreflects
                  / (self.nreflects + self.nrejects + self.naccepts),
                  self.scale,
                  self.nstuck,
              ]
          )
      self.nrejects = 0
      self.naccepts = 0
      self.nreflects = 0
      self.nstuck = 0
      self.istep = 0
      self.iresets = 0
      self.noutside_regions = 0
      self.last = None, None
      self.history = []
  
      self.direction = +1
      self.deadends = set()
      self.path = None
  
imports: import numpy
  import matplotlib.pyplot
  from ultranest.samplingpath import SamplingPath, ContourSamplingPath, extrapolate_ahead
  from ultranest.stepsampler import StepSampler
  from ultranest.stepsampler import generate_region_oriented_direction, generate_region_random_direction, generate_random_direction
  from ultranest.flatnuts import ClockedStepSampler, ClockedBisectSampler, ClockedNUTSSampler
  from ultranest.flatnuts import SingleJumper, DirectJumper, IntervalJumper
label_desc: Use image node_id 3 for calling the SamplingPathStepSampler obj's underlying member method code with example usage: obj.start() without return types