code: def infeasibility(distance, cutoff=0.0):
      """amount by which the distance exceeds the given cutoff distance
  
      Args:
          distance (array): the measure of feasibility for each point
          cutoff (float, default=0.0): maximum acceptable distance
  
      Returns:
          an array of distances by which each point is infeasbile"""
      from numpy import array
  
      distance = array(distance)
      # zero-out all distances less than tolerated
      if cutoff is not None:
          if len(distance.shape) == 0:
              return 0.0 if distance <= cutoff else distance
          distance[distance <= cutoff] = 0.0
      return distance
  
file_path: mystic/mystic/math/distance.py
label_desc: Use image node_id 12 for calling a global function with example usage: infeasibility(distance, cutoff) and returns: distance, unknown