docstr: Return the maximum a posterior label map
docstr_tok: ["Return","the","maximum","a","posterior","label","map"]
code: def map(self):
      """
      Return the maximum a posterior label map
      """
      return map_from_ppm(self.ppm, self.mask)
  
file_path: nipy/nipy/algorithms/segmentation/segmentation.py
imports: import numpy
  from ._segmentation import _interaction_energy, _ve_step
label_desc: Use image node_id 8 for calling the Segmentation obj's underlying member method code with example usage: obj.map() and returns: map_from_ppm