code: def cluster(self, window):
          
          # If no events, do nothing
          if len(self.time1) == 0 or len(self.time2) == 0:
              return self
          from pycbc.events import cluster_coincs
          interval = self.attrs['timeslide_interval']
          cid = cluster_coincs(self.stat, self.time1, self.time2,
                                   self.timeslide_id, interval, window)
          return self.select(cid)
docs: Cluster the dict array, assuming it has the relevant Coinc colums,
          time1, time2, stat, and timeslide_id