code: def run(self, niters=NITERS, freeze=()):
      if self.is_ppm:
          self.vm_step(freeze=freeze)
      for i in range(niters):
          self.ve_step()
          self.vm_step(freeze=freeze)
      self.is_ppm = True
  
file_path: nipy/nipy/algorithms/segmentation/segmentation.py
imports: import numpy
  from ._segmentation import _interaction_energy, _ve_step
label_desc: Use image node_id 7 for calling the Segmentation obj's underlying member method code with example usage: obj.run(niters, freeze) without return types