code: def get_collection_measures(self):
          
  
          if not self.quiet:
              print
              print "Computing duration-independent", self.current_collection_type, "measures..."
  
          self.compute_collection_measures() #include length=1 clusters
          self.compute_collection_measures(no_singletons = True)  #no length=1 clusters
  
          self.compute_pairwise_similarity_score()
  
          if not self.quiet:
              collection_measures = [x for x in self.measures \
                                 if x.startswith("COLLECTION_")
                                      and self.current_collection_type in x
                                      and self.current_similarity_measure in x]
              collection_measures.sort()
              print_table([(k, str(self.measures[k])) for k in collection_measures])
  
          if not self.quiet:
              print
              print "Computing duration-based clustering measures..."
  
          self.compute_duration_measures()
docs: Helper function for calculating measurements derived from clusters/chains/collections