docstr: Informs the metric how many pyramid levels are above the current one
  
  Informs this metric the number of pyramid levels above the current one.
  The metric may change its behavior (e.g. number of inner iterations)
  accordingly
  
  Parameters
  ----------
  levels : int
      the number of levels above the current Gaussian Pyramid level
docstr_tok: ["Informs","the","metric","how","many","pyramid","levels","are","above","the","current","one","Informs","this","metric","the","number","of","pyramid","levels","above","the","current","one",".","The","metric","may","change","its","behavior","(","e.g",".","number","of","inner","iterations",")","accordingly","Parameters","--","--","--","--","--","levels",":","int","the","number","of","levels","above","the","current","Gaussian","Pyramid","level"]
code: def set_levels_above(self, levels):
      r"""Informs the metric how many pyramid levels are above the current one
  
      Informs this metric the number of pyramid levels above the current one.
      The metric may change its behavior (e.g. number of inner iterations)
      accordingly
  
      Parameters
      ----------
      levels : int
          the number of levels above the current Gaussian Pyramid level
      """
      self.levels_above = levels
  
imports: import abc
  import numpy
  from numpy import gradient
  from scipy import ndimage
  from dipy.align import vector_fields
  from dipy.align import sumsqdiff
  from dipy.align import crosscorr
  from dipy.align import expectmax
  from dipy.align import floating
label_desc: Use image node_id 3 for calling the SimilarityMetric obj's underlying member method code with example usage: obj.set_levels_above(levels) without return types