class_docstr: Jump to n steps immediately. If unsuccessful, takes rest in other direction. 
class_docstr_tok: ["Jump","to","n","steps","immediately",".","If","unsuccessful",",","takes","rest","in","other","direction","."]
code: def __init__(self, stepsampler, nsteps, log=False):
      self.stepsampler = stepsampler
      self.direction = +1
      assert nsteps > 0
      self.nsteps = nsteps
      self.isteps = 0
      self.currenti = 0
      self.naccepts = 0
      self.nrejects = 0
      self.log = log
  
imports: import numpy
  from numpy.linalg import norm
  import matplotlib.pyplot
  from .samplingpath import angle, extrapolate_ahead
label_desc: Use image node_id 1 to create a new DirectJumper object from inherited base classes: object with example: obj = DirectJumper(stepsampler, nsteps, log)