code: def ve_step(self):
      nef = self.normalized_external_field()
      if self.beta == 0:
          self.ppm[self.mask] = np.reshape(
              nef, self.ppm[self.mask].shape
          )
      else:
          self.ppm = _ve_step(
              self.ppm, nef, self.XYZ, self.U, self.ngb_size, self.beta
          )
  
file_path: nipy/nipy/algorithms/segmentation/segmentation.py
imports: import numpy
  from ._segmentation import _interaction_energy, _ve_step
label_desc: Use image node_id 6 for calling the Segmentation obj's underlying member method code with example usage: obj.ve_step() without return types