Skip to content
jamesjun edited this page Dec 18, 2017 · 3 revisions

Only keep the peak spikes by removing weak spikes that occur within the spatiotemporal limits set by P.spkRefrac_ms and P.maxDist_site_um.

Syntax

  • [viSpk, vrSpk, viSite] = spikeMerge_(cviSpk, cvrSpk, P)

Input

  • cviSpk: Cell of spike times per site (nSites x 1: cell of vectors)
  • cvrSpk: Cell of spike amplitudes (nSites x 1: cell of vectors)
  • P: Parameters struct (P)

Output

  • viSpk: Spike time at the peak
  • vrSpk: Peak spike amplitudes
  • viSite: Sites where the spike is detected

Operations

See also

detect_spikes_(), detect_()

Clone this wiki locally