code: def cluster_template_events(self, tcolumn, column, window_size):
          
          cvec = self.template_events[column]
          tvec = self.template_events[tcolumn]
          if window_size == 0:
              indices = numpy.arange(len(tvec))
          else:
              indices = findchirp_cluster_over_window(tvec, cvec, window_size)
          self.template_events = numpy.take(self.template_events, indices)
docs: Cluster the internal events over the named column