Skip to content
jamesjun edited this page Dec 6, 2017 · 4 revisions

Calculate the cutoff-distance (dc) to determine the density parameter (rho) for DPCLUS clustering algorithm. dc is computed by taking the bottom percentile (P.dc_percent) of the Euclidean distance between event pairs.

Syntax

  • dc = calc_dc2_(S0, P, vlRedo_spk)

Input

  • S0
  • P
  • vlRedo_spk: logical vector of spikes to recluster (default: [])

Output

  • dc: cut-off distance

Clone this wiki locally