class_docstr: Region-aware form of the sampling path.
  
  Uses region points to guess a likelihood contour gradient.
class_docstr_tok: ["Region-aware","form","of","the","sampling","path",".","Uses","region","points","to","guess","a","likelihood","contour","gradient","."]
docstr: Initialise with `samplingpath` and `region`.
docstr_tok: ["Initialise","with","`","samplingpath","`","and","`","region","`","."]
code: def __init__(self, samplingpath, region):
      """Initialise with `samplingpath` and `region`."""
      self.samplingpath = samplingpath
      self.points = self.samplingpath.points
      self.region = region
  
imports: import numpy
  from numpy.linalg import norm
  import matplotlib.pyplot
label_desc: Use image node_id 1 to create a new ContourSamplingPath object from inherited base classes: object with example: obj = ContourSamplingPath(samplingpath, region)