code: def combine(pmaps):
      
      shape = get_shape(pmaps)
      res = ProbabilityMap(shape[1], shape[2])
      for pmap in pmaps:
          res |= pmap
      return res
docs: :param pmaps: a set of homogenous ProbabilityMaps
      :returns: the combined map