class_docstr: Find a new point with a series of small steps
class_docstr_tok: ["Find","a","new","point","with","a","series","of","small","steps"]
docstr: Helper interface, call next() until a independent sample is returned 
docstr_tok: ["Helper","interface",",","call","next","(",")","until","a","independent","sample","is","returned"]
code: def get_independent_sample(self, transform, loglike, Lmin):
      """Helper interface, call next() until a independent sample is returned"""
      Llast = None
      while True:
          sample, is_independent = self.next(Llast)
          if sample is None:
              return None, None
          if is_independent:
              unew, Lnew = sample
              return unew, Lnew
          else:
              unew = sample
              xnew = transform(unew)
              Llast = loglike(xnew)
              if Llast < Lmin:
                  Llast = None
  
imports: import numpy
  from numpy.linalg import norm
  import matplotlib.pyplot
  from .samplingpath import angle, extrapolate_ahead
label_desc: Use image node_id 8 for calling the ClockedSimpleStepSampler obj's underlying member method code with example usage: obj.get_independent_sample(transform, loglike, Lmin) and returns: None,  None, unew,  Lnew