code: def make_cluster_name_vector(cluster_vect, src_names):
      
      out_array = np.where(cluster_vect >= 0, src_names[cluster_vect], "")
      return out_array
docs: Converts the cluster membership dictionary to an array
  
      Parameters
      ----------
      cluster_vect : `numpy.ndarray' 
         An array filled with the index of the seed of a cluster if a source belongs to a cluster, 
         and with -1 if it does not.
  
      src_names : 
         An array with the source names 
  
      Returns
      -------
      out_array : `numpy.ndarray' 
         An array filled with the name of the seed of a cluster if a source belongs to a cluster, 
         and with an empty string if it does not.