Skip to content

cluster_spacetime_()

jamesjun edited this page Nov 1, 2017 · 11 revisions

Run spatiotemporal Rodrguez-Laio clustering and determine the density (rho) and distance (delta) for each spike

Syntax

  • S_clu = cluster_spacetime_(S0, P)
  • S_clu = cluster_spacetime_(S0, P, vlRedo_spk)

Input

Output

Operations

  • For each site k
    • fet12_site_(): Collect features of the spikes whose peak (S0.viSite_spk) is at site k (n1 number of spikes), or whose second peak (S0.viSite2_spk) is at site k (n2 number of spikes).
    • Calculate the distance cutoff (dc), which is set at the Euclidean distance percentile (P.dc_percent)
    • cuda_rho_(): Calculate Rho (density) for n1 spikes
  • For each site k
    • cuda_delta_(): Calculate delta (distance separation) for n1 spikes
Clone this wiki locally