code: def make_diffuse_comp_info_dict(self, galkey):
          
          galprop_rings = self.read_galprop_rings_yaml(galkey)
          ring_limits = galprop_rings.get('ring_limits')
          comp_dict = galprop_rings.get('diffuse_comp_dict')
          remove_rings = galprop_rings.get('remove_rings', [])
          diffuse_comp_info_dict = {}
          nring = len(ring_limits) - 1
          for source_key in sorted(comp_dict.keys()):
              for iring in range(nring):
                  source_name = "%s_%i" % (source_key, iring)
                  if source_name in remove_rings:
                      continue
                  full_key = "%s_%s" % (source_name, galkey)
                  diffuse_comp_info_dict[full_key] =\
                      self.make_diffuse_comp_info(source_name, galkey)
          self._diffuse_comp_info_dicts[galkey] = diffuse_comp_info_dict
          return diffuse_comp_info_dict
docs: Make a dictionary maping from merged component to information about that component
  
          Parameters
          ----------
  
          galkey : str
              A short key identifying the galprop parameters