class_docstr: This is the basic field structure,
       which contains the weighted graph structure
       plus an array of data (the 'field')
  field is an array of size(n, p)
        where n is the number of vertices of the graph
        and p is the field dimension
class_docstr_tok: ["This","is","the","basic","field","structure",",","which","contains","the","weighted","graph","structure","plus","an","array","of","data","(","the","'field","'",")","field","is","an","array","of","size","(","n",",","p",")","where","n","is","the","number","of","vertices","of","the","graph","and","p","is","the","field","dimension"]
docstr: Morphological closing of the field data.
  self.field is changed inplace
  
  Parameters
  ----------
  nbiter=1 : the number of iterations required
docstr_tok: ["Morphological","closing","of","the","field","data",".","self.field","is","changed","inplace","Parameters","--","--","--","--","--","nbiter=1",":","the","number","of","iterations","required"]
code: def closing(self, nbiter=1):
      """Morphological closing of the field data.
      self.field is changed inplace
  
      Parameters
      ----------
      nbiter=1 : the number of iterations required
      """
      nbiter = int(nbiter)
      self.dilation(nbiter)
      self.erosion(nbiter)
  
imports: from warnings import warn
  import numpy
  from .graph import Graph, WeightedGraph
label_desc: Use image node_id 4 for calling the Field obj's underlying member method code with example usage: obj.closing(nbiter) without return types