Example #1
0
 def compute(self, spiketimes, clusters, clusters_to_update=None,
         clusters_selected=None, ncorrbins=None, corrbin=None, wizard=None):
     log.debug("Computing correlograms for clusters {0:s}.".format(
         str(list(clusters_to_update))))
     if len(clusters_to_update) == 0:
         return {}
     clusters_to_update = np.array(clusters_to_update, dtype=np.int32)
     correlograms = compute_correlograms(spiketimes, clusters,
         clusters_to_update=clusters_to_update,
         ncorrbins=ncorrbins, corrbin=corrbin)
     return correlograms
Example #2
0
 def compute(self, spiketimes, clusters, clusters_to_update=None,
         clusters_selected=None, ncorrbins=None, corrbin=None, wizard=None):
     log.debug("Computing correlograms for clusters {0:s}.".format(
         str(list(clusters_to_update))))
     if len(clusters_to_update) == 0:
         return {}
     clusters_to_update = np.array(clusters_to_update, dtype=np.int32)
     correlograms = compute_correlograms(spiketimes, clusters,
         clusters_to_update=clusters_to_update,
         ncorrbins=ncorrbins, corrbin=corrbin)
     return correlograms